]> sourceware.org Git - systemtap.git/commitdiff
Don't signal warning if script is exited immediately in monitor mode.
authorFelix Lu <flu@redhat.com>
Wed, 16 Mar 2016 13:44:35 +0000 (09:44 -0400)
committerFelix Lu <flu@redhat.com>
Wed, 16 Mar 2016 13:44:35 +0000 (09:44 -0400)
staprun/monitor.c

index fb188c352a1b5855f2615606b58bc3702fe70b80..1865115f7c2574a31ba2c7b29b6121a6d6d3339c 100644 (file)
@@ -277,7 +277,7 @@ void monitor_render(void)
 
           bytes = fread(json, sizeof(char), MAX_DATA, monitor_fp);
           if (!bytes)
-            cleanup_and_exit (0, 1);
+            cleanup_and_exit (0, 0);
           fclose(monitor_fp);
 
           jso = json_tokener_parse(json);
This page took 0.028539 seconds and 5 git commands to generate.