summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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