SVN: rc-scripts/trunk/rc.d/init.d/template.init
qboosh
qboosh at pld-linux.org
Wed Nov 28 21:28:40 CET 2007
Author: qboosh
Date: Wed Nov 28 21:28:39 2007
New Revision: 9117
Modified:
rc-scripts/trunk/rc.d/init.d/template.init
Log:
- simplicity and verboseness wins: let try-restart inform if service is not running
Modified: rc-scripts/trunk/rc.d/init.d/template.init
==============================================================================
--- rc-scripts/trunk/rc.d/init.d/template.init (original)
+++ rc-scripts/trunk/rc.d/init.d/template.init Wed Nov 28 21:28:39 2007
@@ -74,9 +74,7 @@
stop
start
else
- if [ $1 -ne 0 ]; then
- msg_not_running <service>
- fi
+ msg_not_running <service>
RETVAL=$1
fi
}
More information about the pld-cvs-commit
mailing list