]> sourceware.org Git - systemtap.git/commitdiff
RHBZ847286: systemtap initscript: return rc=0 for no-scripts-configured case
authorFrank Ch. Eigler <fche@redhat.com>
Wed, 15 Oct 2014 16:36:49 +0000 (12:36 -0400)
committerFrank Ch. Eigler <fche@redhat.com>
Wed, 15 Oct 2014 16:36:49 +0000 (12:36 -0400)
We already emit a message as a warning; let's not treat this
relatively harmless situation as an error RC.

initscript/systemtap.in

index ed64dd65aac29f44f3a0b4695412471e593dab79..9443384430a92ff7f6d3104390958128f9326652 100755 (executable)
@@ -633,7 +633,7 @@ start () {
 
   if [ -z "$start_scripts" ]; then
     do_warning $"No scripts exist."
-    return 5 # program is not installed
+    return 0 # only a warning
   fi
 
   prepare_stat_dir
This page took 0.027121 seconds and 5 git commands to generate.