aboutsummaryrefslogtreecommitdiff
path: root/rc.multi
diff options
context:
space:
mode:
authorKurt J. Bosch <kjb-temp-2009@alpenjodel.de>2011-06-24 21:12:56 +0200
committerKurt J. Bosch <kjb-temp-2009@alpenjodel.de>2011-06-24 21:12:56 +0200
commitcd4b6dde21fde2a461dbbe42db649cc83fac303b (patch)
treeaa681a33bf12d8f7bc675515f5a667782c770946 /rc.multi
parent339d0a10258a8cf862c84b5f26cdd042dfeca8c2 (diff)
downloadinitscripts-cd4b6dde21fde2a461dbbe42db649cc83fac303b.tar.xz
Get rid of simple if-constucts by using '&&'
Diffstat (limited to 'rc.multi')
-rwxr-xr-xrc.multi4
1 files changed, 1 insertions, 3 deletions
diff --git a/rc.multi b/rc.multi
index 4b55a27..b801fb6 100755
--- a/rc.multi
+++ b/rc.multi
@@ -20,9 +20,7 @@ for daemon in "${DAEMONS[@]}"; do
esac
done
-if [[ -x /etc/rc.local ]]; then
- /etc/rc.local
-fi
+[[ -x /etc/rc.local ]] && /etc/rc.local
run_hook multi_end