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
@@ -142,13 +142,13 @@ void MyPty::error()
}
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;
}