-rw-r--r-- | noncore/apps/opie-console/MyPty.cpp | 2 |
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 | |||
@@ -144,9 +144,9 @@ void MyPty::error() | |||
144 | void MyPty::start() { | 144 | void MyPty::start() { |
145 | char* cmd = "/bin/sh"; | 145 | char* cmd = "/bin/sh"; |
146 | 146 | ||
147 | if ( QFile::exists( "/bin/bash" ) ) { | 147 | if ( QFile::exists( "/bin/bash" ) ) { |
148 | char* cmd = "/bin/bash"; | 148 | cmd = "/bin/bash"; |
149 | } | 149 | } |
150 | 150 | ||
151 | QStrList lis; | 151 | QStrList lis; |
152 | int r =run(cmd, lis, 0, 0); | 152 | int r =run(cmd, lis, 0, 0); |