support attribute cleanup for nice single value column
[gnt-info] / gnt-running.sh
index fcb4d03..415fabb 100755 (executable)
@@ -1,9 +1,9 @@
 #!/bin/sh -e
 while true ; do
-  JOBID=`gnt-job list --no-headers --running | tee /dev/stderr | awk '{ print $1; exit }'`
+  JOBID=`gnt-job list --no-headers --running | tee /dev/stderr | grep -v GROUP_VERIFY_DISKS | awk '{ print $1; exit }'`
   if [ -n "$JOBID" ]
   then
-       gnt-job watch $JOBID
+       gnt-job watch $JOBID || true # don't exit on failed jobs
   else
        sleep 5
   fi