summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2012-12-12 00:41:44 -0600
committerTimothy Pearson <[email protected]>2012-12-12 00:41:44 -0600
commit937cb8d13055b13da6e267989404ac529b0633d6 (patch)
treecb1af33ca2b6adabf760e2f345040d0f1beb0493
parent7b7565e7f5806cd66751049fafd7ad7af9d60c12 (diff)
downloadkcmldapcontroller-937cb8d13055b13da6e267989404ac529b0633d6.tar.gz
kcmldapcontroller-937cb8d13055b13da6e267989404ac529b0633d6.zip
Fix up kadmin interface
-rw-r--r--src/ldapcontroller.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/ldapcontroller.cpp b/src/ldapcontroller.cpp
index 2ec4260..6c2fed6 100644
--- a/src/ldapcontroller.cpp
+++ b/src/ldapcontroller.cpp
@@ -916,6 +916,14 @@ TQString readFullLineFromPtyProcess(PtyProcess* proc) {
) {
result = result + TQString(proc->readLine(false));
tqApp->processEvents();
+ if (!TQFile::exists(TQString("/proc/%1/exe").arg(proc->pid()))) {
+ result.replace("\n", "");
+ result.replace("\r", "");
+ if (result == "") {
+ result = "TDE process terminated";
+ }
+ break;
+ }
}
result.replace("\n", "");
result.replace("\r", "");