]> xenbits.xen.org Git - xenclient/build.git/commitdiff
Do not attempt to calculate statistics for guests that fail to yield a process list...
authorDaniel Ferstay <daniel.ferstay@citrix.com>
Wed, 18 Nov 2009 21:15:48 +0000 (21:15 +0000)
committerDaniel Ferstay <daniel.ferstay@citrix.com>
Wed, 18 Nov 2009 21:15:48 +0000 (21:15 +0000)
target/generic/target_xenclient_skeleton/usr/bin/guest-process-stats

index fa16e3e379b5c2025a15b8ee5aae94f0878633b3..6f5db3019f11b4970caae6481f60ea2647ca5e69 100755 (executable)
@@ -24,6 +24,7 @@ PROC_LIST = "guest-process-list"
     rescue
     end
   }
+  next if $? != 0
 
   sleep(1) # sleep 1 sec