From f49c4c0911682c997596f1f0eae7e4f6dcc3766c Mon Sep 17 00:00:00 2001 From: Adrien Destugues Date: Wed, 8 Apr 2015 18:40:05 +0200 Subject: [PATCH] RemoteDesktop: fix -c handling. hrev43649 was not completely merged during the PM merge, add the missing line. Fixes #11955. --- src/apps/remotedesktop/RemoteDesktop.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/apps/remotedesktop/RemoteDesktop.cpp b/src/apps/remotedesktop/RemoteDesktop.cpp index 8fbec99950..2e48f26250 100644 --- a/src/apps/remotedesktop/RemoteDesktop.cpp +++ b/src/apps/remotedesktop/RemoteDesktop.cpp @@ -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) {