author | harlekin <harlekin> | 2002-10-25 19:34:27 (UTC) |
---|---|---|
committer | harlekin <harlekin> | 2002-10-25 19:34:27 (UTC) |
commit | 77347ba522a5913ff17561e6fd2c15981d42e86b (patch) (unidiff) | |
tree | 9e865d9b8d9ca2bfdda98a823531359b3004e46a /noncore | |
parent | 9adbe632ec54bf155b9882e4e0b51c293259cdf2 (diff) | |
download | opie-77347ba522a5913ff17561e6fd2c15981d42e86b.zip opie-77347ba522a5913ff17561e6fd2c15981d42e86b.tar.gz opie-77347ba522a5913ff17561e6fd2c15981d42e86b.tar.bz2 |
cough
-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 | |||
@@ -142,13 +142,13 @@ void MyPty::error() | |||
142 | } | 142 | } |
143 | 143 | ||
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); |
153 | r = r; | 153 | r = r; |
154 | } | 154 | } |