diff options
author | Timothy Pearson <[email protected]> | 2013-04-17 17:22:17 -0500 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2013-04-17 17:22:17 -0500 |
commit | 6342dc39907a647a0fd9f84b3ba143cef4792877 (patch) | |
tree | 237c804f8ec6fa033d62d10a1851effbfeb09646 /kdesktop/lock/lockdlg.cc | |
parent | dbe6ecbb725216ed78c2c7170233762956338542 (diff) | |
download | tdebase-6342dc39907a647a0fd9f84b3ba143cef4792877.tar.gz tdebase-6342dc39907a647a0fd9f84b3ba143cef4792877.zip |
Fix a number of issues related to the media kioslave
Diffstat (limited to 'kdesktop/lock/lockdlg.cc')
-rw-r--r-- | kdesktop/lock/lockdlg.cc | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/kdesktop/lock/lockdlg.cc b/kdesktop/lock/lockdlg.cc index a3fe9828c..d401f0b2f 100644 --- a/kdesktop/lock/lockdlg.cc +++ b/kdesktop/lock/lockdlg.cc @@ -422,8 +422,8 @@ void PasswordDlg::reapVerify() { ::close( sFd ); int status; - ::waitpid( sPid, &status, 0 ); - if (WIFEXITED(status)) + pid_t retpid = ::waitpid( sPid, &status, 0 ); + if (WIFEXITED(status)) { switch (WEXITSTATUS(status)) { case AuthOk: greet->succeeded(); @@ -441,6 +441,11 @@ void PasswordDlg::reapVerify() case AuthAbort: return; } + } + else if (WIFSIGNALED(status)) { + // FIXME + // ERROR + } cantCheck(); } |