[projects/rc-scripts] Uh, for readability sake leave else and drop exit.
arekm
arekm at pld-linux.org
Thu Mar 20 19:18:38 CET 2014
commit 5f389035e1b61654d245e5a87905ea1d5ed5ac42
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Thu Mar 20 19:18:35 2014 +0100
Uh, for readability sake leave else and drop exit.
rc.d/init.d/network | 2 --
1 file changed, 2 deletions(-)
---
diff --git a/rc.d/init.d/network b/rc.d/init.d/network
index cca3795..cec759f 100755
--- a/rc.d/init.d/network
+++ b/rc.d/init.d/network
@@ -371,7 +371,6 @@ case "$1" in
touch /var/lock/subsys/network
emit pld.network-started
emit --no-wait started JOB=network
- exit 0
else
start
fi
@@ -394,7 +393,6 @@ case "$1" in
rm -f /var/lock/subsys/network >/dev/null 2>&1
emit pld.network-stopped
emit --no-wait stopped JOB=network
- exit 0
else
stop
fi
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/projects/rc-scripts.git/commitdiff/5f389035e1b61654d245e5a87905ea1d5ed5ac42
More information about the pld-cvs-commit
mailing list