diff options
author | Tomas Chvatal <scarabeus@gentoo.org> | 2011-06-18 15:54:18 +0000 |
---|---|---|
committer | Tomas Chvatal <scarabeus@gentoo.org> | 2011-06-18 15:54:18 +0000 |
commit | 609c8d8b58e988a367930ef7f9a79143f18eb735 (patch) | |
tree | 4fcb4c7c8358ca17637d4701414faf70bf15604f /app-laptop/tp_smapi | |
parent | Revert commit that is causing major gnome-panel problems, bug #372147. Remove... (diff) | |
download | gentoo-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/ChangeLog | 7 | ||||
-rwxr-xr-x | app-laptop/tp_smapi/files/tp_smapi-0.40-initd | 2 |
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 |