summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/apps/opie-console/MyPty.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/noncore/apps/opie-console/MyPty.cpp b/noncore/apps/opie-console/MyPty.cpp
index 2570826..534f79a 100644
--- a/noncore/apps/opie-console/MyPty.cpp
+++ b/noncore/apps/opie-console/MyPty.cpp
@@ -140,17 +140,17 @@ void MyPty::error()
// This is code from the Qt DumbTerminal example
donePty();
}
void MyPty::start() {
char* cmd = "/bin/sh";
if ( QFile::exists( "/bin/bash" ) ) {
- char* cmd = "/bin/bash";
+ cmd = "/bin/bash";
}
QStrList lis;
int r =run(cmd, lis, 0, 0);
r = r;
}
/*!
start the client program.