summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Heim <phreak@gentoo.org>2006-12-22 10:11:26 +0000
committerChristian Heim <phreak@gentoo.org>2006-12-22 10:11:26 +0000
commit13d046e7d5cb72237f1b1bbb4f771ca63af77121 (patch)
tree1b800d3c9f74b40b815e087014ea24bd2f868a9d /net-wireless/ipw3945d
parent+ bind/bind-tools mask wrt bugs #158217, #158664 (diff)
downloadgentoo-2-13d046e7d5cb72237f1b1bbb4f771ca63af77121.tar.gz
gentoo-2-13d046e7d5cb72237f1b1bbb4f771ca63af77121.tar.bz2
gentoo-2-13d046e7d5cb72237f1b1bbb4f771ca63af77121.zip
Fixing a bug within the init-script, using 'exit 1' isn't allowed (thanks to Magnus Ahlberg in #158814).
(Portage version: 2.1.2_rc3-r9)
Diffstat (limited to 'net-wireless/ipw3945d')
-rw-r--r--net-wireless/ipw3945d/ChangeLog6
-rw-r--r--net-wireless/ipw3945d/files/ipw3945d-init.d4
2 files changed, 7 insertions, 3 deletions
diff --git a/net-wireless/ipw3945d/ChangeLog b/net-wireless/ipw3945d/ChangeLog
index 4801f2512053..587b9184a4eb 100644
--- a/net-wireless/ipw3945d/ChangeLog
+++ b/net-wireless/ipw3945d/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-wireless/ipw3945d
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-wireless/ipw3945d/ChangeLog,v 1.10 2006/12/18 00:33:31 phreak Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/ipw3945d/ChangeLog,v 1.11 2006/12/22 10:11:26 phreak Exp $
+
+ 22 Dec 2006; Christian Heim <phreak@gentoo.org> files/ipw3945d-init.d:
+ Fixing a bug within the init-script, using 'exit 1' isn't allowed (thanks to
+ Magnus Ahlberg in #158814).
18 Dec 2006; Christian Heim <phreak@gentoo.org> ipw3945d-1.7.22-r4.ebuild:
Adding a postinst hack, to change the permission/ownership in case the
diff --git a/net-wireless/ipw3945d/files/ipw3945d-init.d b/net-wireless/ipw3945d/files/ipw3945d-init.d
index e691710ad740..d31379d5d539 100644
--- a/net-wireless/ipw3945d/files/ipw3945d-init.d
+++ b/net-wireless/ipw3945d/files/ipw3945d-init.d
@@ -1,7 +1,7 @@
#!/sbin/runscript
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-wireless/ipw3945d/files/ipw3945d-init.d,v 1.3 2006/12/17 19:52:19 phreak Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/ipw3945d/files/ipw3945d-init.d,v 1.4 2006/12/22 10:11:26 phreak Exp $
PIDFILE=/var/run/ipw3945d/ipw3945d.pid
@@ -14,7 +14,7 @@ check() {
if [ -f "${PIDFILE}" ] ; then
eerror "The pidfile ($PIDFILE) is still present."
eerror "Please check that the daemon isn't running!"
- exit 1
+ return 1
fi
}