weston-launch: Use /bin/sh for launching weston

https://bugs.freedesktop.org/show_bug.cgi?id=68739
This commit is contained in:
Kristian Høgsberg 2013-10-21 15:14:44 -07:00
parent 53ec560423
commit fb08e4bdaa

View File

@ -596,7 +596,7 @@ launch_compositor(struct weston_launch *wl, int argc, char *argv[])
sigaddset(&mask, SIGINT); sigaddset(&mask, SIGINT);
sigprocmask(SIG_UNBLOCK, &mask, NULL); sigprocmask(SIG_UNBLOCK, &mask, NULL);
child_argv[0] = wl->pw->pw_shell; child_argv[0] = "/bin/sh";
child_argv[1] = "-l"; child_argv[1] = "-l";
child_argv[2] = "-c"; child_argv[2] = "-c";
child_argv[3] = BINDIR "/weston \"$@\""; child_argv[3] = BINDIR "/weston \"$@\"";