summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Olexa <darkside@gentoo.org>2008-09-22 15:50:10 +0000
committerJeremy Olexa <darkside@gentoo.org>2008-09-22 15:50:10 +0000
commit5e2cf4f3ff33b2ee20888bab4db42947d5b593d4 (patch)
tree2835638fe8ba6b13e927aff8dc415308da1e65bb /net-misc/wicd/files
parentclean up postinst and add words about USE=pam for bug #238328. Thanks to nigh... (diff)
downloadgentoo-2-5e2cf4f3ff33b2ee20888bab4db42947d5b593d4.tar.gz
gentoo-2-5e2cf4f3ff33b2ee20888bab4db42947d5b593d4.tar.bz2
gentoo-2-5e2cf4f3ff33b2ee20888bab4db42947d5b593d4.zip
Fix bashism in init file, bug #238278. Thanks Davide Pesavento for fix.
(Portage version: 2.2_rc8/cvs/Linux 2.6.26-gentoo x86_64)
Diffstat (limited to 'net-misc/wicd/files')
-rw-r--r--net-misc/wicd/files/wicd-init.d4
1 files changed, 2 insertions, 2 deletions
diff --git a/net-misc/wicd/files/wicd-init.d b/net-misc/wicd/files/wicd-init.d
index f4083beeb8db..3f14f094624c 100644
--- a/net-misc/wicd/files/wicd-init.d
+++ b/net-misc/wicd/files/wicd-init.d
@@ -13,12 +13,12 @@ depend() {
start() {
ebegin "Starting wicd daemon"
- $WICD_DAEMON &>/dev/null
+ "${WICD_DAEMON}" >/dev/null 2>&1
eend $?
}
stop() {
ebegin "Stopping wicd daemon"
- start-stop-daemon --stop --pidfile "$WICD_PIDFILE"
+ start-stop-daemon --stop --pidfile "${WICD_PIDFILE}"
eend $?
}