summaryrefslogtreecommitdiff
Unidiff
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
@@ -140,17 +140,17 @@ void MyPty::error()
140 // This is code from the Qt DumbTerminal example 140 // This is code from the Qt DumbTerminal example
141 donePty(); 141 donePty();
142} 142}
143 143
144void MyPty::start() { 144void 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}
155/*! 155/*!
156 start the client program. 156 start the client program.