]> arthur.barton.de Git - netdata.git/commitdiff
Merge pull request #705 from ciccatrix/fix-init-script
authorCosta Tsaousis <costa@tsaousis.gr>
Mon, 18 Jul 2016 06:52:29 +0000 (09:52 +0300)
committerGitHub <noreply@github.com>
Mon, 18 Jul 2016 06:52:29 +0000 (09:52 +0300)
return RETVAL for condrestart()

system/netdata-init-d.in

index d72dd2e56b5b161824b66a9c924b35417651069f..773f643d341aed28b88ea2dba5aafa9c5e6868f5 100644 (file)
@@ -42,7 +42,7 @@ condrestart()
 {
        if ! service_status > /dev/null; then
                RETVAL=$1
-               return
+               return $RETVAL
        fi
 
        service_stop