RemoteDesktop: fix -c handling.

hrev43649 was not completely merged during the PM merge, add the missing
line.

Fixes #11955.
This commit is contained in:
Adrien Destugues 2015-04-08 18:40:05 +02:00
parent 47c5baac63
commit f49c4c0911

View File

@ -106,7 +106,7 @@ main(int argc, char *argv[])
char shellCommand[4096];
snprintf(shellCommand, sizeof(shellCommand),
"echo connected; export TARGET_SCREEN=localhost:%" B_PRIu32
"; %s\n", listenPort, terminalPath.Path());
"; %s\n", listenPort, command);
int pipes[4];
if (pipe(&pipes[0]) != 0 || pipe(&pipes[2]) != 0) {