Skip to content

Commit 299c862

Browse files
Oops
1 parent e1af23a commit 299c862

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

launcher/main.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,13 +134,13 @@ LIPCcode go_callback(LIPC* lipc, const char* property, void* value, void* data)
134134
strcat(command, " 2>&1 | /mnt/us/libkh/bin/fbink -y 5 -r");
135135
}
136136

137-
syslog(LOG_INFO, "Invoking app using \"%s\"", command.c_str());
137+
syslog(LOG_INFO, "Invoking app using \"%s\"", command);
138138
// Run the app on a background thread
139139
app_pid = fork();
140140
syslog(LOG_INFO, "Our app PID \"%d\"", app_pid);
141141
if (app_pid == 0) {
142142
// we are running as framework call gandalf for help
143-
execl("/var/local/mkk/su", "su", "-c", command.c_str(), NULL); // su is first arg bc it expects to be run from a shell ($1 = name of command, duh)
143+
execl("/var/local/mkk/su", "su", "-c", command, NULL); // su is first arg bc it expects to be run from a shell ($1 = name of command, duh)
144144
}
145145

146146
return stub(lipc, property, value, data);

0 commit comments

Comments
 (0)