summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomas Chvatal <scarabeus@gentoo.org>2011-06-18 15:54:18 +0000
committerTomas Chvatal <scarabeus@gentoo.org>2011-06-18 15:54:18 +0000
commit609c8d8b58e988a367930ef7f9a79143f18eb735 (patch)
tree4fcb4c7c8358ca17637d4701414faf70bf15604f /app-laptop/tp_smapi
parentRevert commit that is causing major gnome-panel problems, bug #372147. Remove... (diff)
downloadgentoo-2-609c8d8b58e988a367930ef7f9a79143f18eb735.tar.gz
gentoo-2-609c8d8b58e988a367930ef7f9a79143f18eb735.tar.bz2
gentoo-2-609c8d8b58e988a367930ef7f9a79143f18eb735.zip
Fix doublechecking of one variable. state1 instead of state2. Could someone check if we allow headers like this for initscripts?
(Portage version: 2.2.0_alpha41/cvs/Linux x86_64)
Diffstat (limited to 'app-laptop/tp_smapi')
-rw-r--r--app-laptop/tp_smapi/ChangeLog7
-rwxr-xr-xapp-laptop/tp_smapi/files/tp_smapi-0.40-initd2
2 files changed, 7 insertions, 2 deletions
diff --git a/app-laptop/tp_smapi/ChangeLog b/app-laptop/tp_smapi/ChangeLog
index 1d6fdb9a1cd3..d4fd2d630c67 100644
--- a/app-laptop/tp_smapi/ChangeLog
+++ b/app-laptop/tp_smapi/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-laptop/tp_smapi
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-laptop/tp_smapi/ChangeLog,v 1.40 2011/06/17 13:27:42 scarabeus Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-laptop/tp_smapi/ChangeLog,v 1.41 2011/06/18 15:54:18 scarabeus Exp $
+
+ 18 Jun 2011; Tomáš Chvátal <scarabeus@gentoo.org>
+ files/tp_smapi-0.40-initd:
+ Fix doublechecking of one variable. state1 instead of state2. Could someone
+ check if we allow headers like this for initscripts?
*tp_smapi-0.40-r3 (17 Jun 2011)
diff --git a/app-laptop/tp_smapi/files/tp_smapi-0.40-initd b/app-laptop/tp_smapi/files/tp_smapi-0.40-initd
index de4f3a9a44e2..4edb05170f63 100755
--- a/app-laptop/tp_smapi/files/tp_smapi-0.40-initd
+++ b/app-laptop/tp_smapi/files/tp_smapi-0.40-initd
@@ -27,7 +27,7 @@ start() {
state2=$?
eend ${state2}
- if [ "${state1}" -ne "0" ] || [ "${state1}" -ne "0" ]; then
+ if [ "${state1}" -ne "0" ] || [ "${state2}" -ne "0" ]; then
return 1
fi