summaryrefslogtreecommitdiff
path: root/noncore
authorharlekin <harlekin>2002-10-25 19:34:27 (UTC)
committer harlekin <harlekin>2002-10-25 19:34:27 (UTC)
commit77347ba522a5913ff17561e6fd2c15981d42e86b (patch) (side-by-side diff)
tree9e865d9b8d9ca2bfdda98a823531359b3004e46a /noncore
parent9adbe632ec54bf155b9882e4e0b51c293259cdf2 (diff)
downloadopie-77347ba522a5913ff17561e6fd2c15981d42e86b.zip
opie-77347ba522a5913ff17561e6fd2c15981d42e86b.tar.gz
opie-77347ba522a5913ff17561e6fd2c15981d42e86b.tar.bz2
cough
Diffstat (limited to 'noncore') (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.