diff options
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(); } |