return RETVAL for condrestart()
Sally Hui committed
Jul 17, 2016 at 20:22 UTC
f2e395fd89f215e9872bc75f90cf9d8dc9ce0af8
1 file changed
+1
-1
system/netdata-init-d.in
+1
-1
@@ -42,7 +42,7 @@ condrestart()
42
{
43
if ! service_status > /dev/null; then
44
RETVAL=$1
45
- return
45
+ return RETVAL
46
fi
47
48
service_stop