author | harlekin <harlekin> | 2002-10-25 19:34:27 (UTC) |
---|---|---|
committer | harlekin <harlekin> | 2002-10-25 19:34:27 (UTC) |
commit | 77347ba522a5913ff17561e6fd2c15981d42e86b (patch) (side-by-side diff) | |
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 @@ -136,25 +136,25 @@ const char* MyPty::deviceName() 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. */ int MyPty::run(const char* cmd, QStrList &, const char*, int) { // This is code from the Qt DumbTerminal example |