summaryrefslogtreecommitdiff
path: root/noncore
Unidiff
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
@@ -142,13 +142,13 @@ void MyPty::error()
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}