diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2015-08-07 17:06:29 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2015-08-07 17:06:29 +0900 |
commit | c036d97d35d25c4511d9569d40c1de07dab96bb6 (patch) | |
tree | abb9a42ff29a9c144450b6b6a5aafb851cbdc69c /kalarm/lib/shellprocess.cpp | |
parent | 74a91e13153f0696bb62baa78dac119f3a2e9fca (diff) | |
download | tdepim-c036d97d35d25c4511d9569d40c1de07dab96bb6.tar.gz tdepim-c036d97d35d25c4511d9569d40c1de07dab96bb6.zip |
Fixed KAlarm building warnings. Minor style patch up. Fixed possible error in treating deferred evens (see kalarm/alarmevent.cpp:1739).
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'kalarm/lib/shellprocess.cpp')
-rw-r--r-- | kalarm/lib/shellprocess.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kalarm/lib/shellprocess.cpp b/kalarm/lib/shellprocess.cpp index c8ea891c..1ed64df7 100644 --- a/kalarm/lib/shellprocess.cpp +++ b/kalarm/lib/shellprocess.cpp @@ -86,8 +86,8 @@ void ShellProcess::slotExited(TDEProcess* proc) { // Some shells report if the command couldn't be found, or is not executable int status = proc->exitStatus(); - if (mShellName == "bash" && (status == 126 || status == 127) - || mShellName == "ksh" && status == 127) + if ((mShellName == "bash" && (status == 126 || status == 127)) + || (mShellName == "ksh" && status == 127)) { kdWarning(5950) << "ShellProcess::slotExited(" << mCommand << ") " << mShellName << ": not found or not executable\n"; mStatus = NOT_FOUND; |