]> git.pld-linux.org Git - packages/entrance.git/blame - entrance-use_bash.patch
- X11R6 is no more
[packages/entrance.git] / entrance-use_bash.patch
CommitLineData
1285f52f 1diff -Nur entrance-0.9.0.006/src/client/entrance_session.c entrance-0.9.0.006.bash/src/client/entrance_session.c
2--- entrance-0.9.0.006/src/client/entrance_session.c 2006-01-24 04:45:27.000000000 +0100
3+++ entrance-0.9.0.006.bash/src/client/entrance_session.c 2006-03-18 20:03:58.000000000 +0100
4@@ -480,7 +480,7 @@
5 snprintf(buf, sizeof(buf), "%s/entrance_login %i", PACKAGE_BIN_DIR,
6 (int) pid);
7 }
8- shell = strdup("/bin/sh");
9+ shell = strdup("/bin/bash");
10 /* this bypasses a race condition where entrance loses its x
11 connection before the wm gets it and x goes and resets itself */
12 sleep(10);
13@@ -495,7 +495,7 @@
14 entrance_session_free(e);
15 /* replace this process with a clean small one that just waits for its */
16 /* child to exit.. passed on the cmd-line */
17- execl("/bin/sh", "/bin/sh", "-l", "-c", buf, NULL);
18+ execl("/bin/bash", "/bin/bash", "-l", "-c", buf, NULL);
19 }
20
21
22diff -Nur entrance-0.9.0.006/src/daemon/spawner.c entrance-0.9.0.006.bash/src/daemon/spawner.c
23--- entrance-0.9.0.006/src/daemon/spawner.c 2006-01-24 04:45:27.000000000 +0100
24+++ entrance-0.9.0.006.bash/src/daemon/spawner.c 2006-03-18 20:02:18.000000000 +0100
25@@ -162,7 +162,7 @@
26 sigaction(SIGUSR1, &_entrance_x_sa, NULL);
27 /* FIXME: need to parse command and NOT go thru /bin/sh!!!! */
28 /* why? some /bin/sh's wont pass on this SIGUSR1 thing... */
29- execl("/bin/sh", "/bin/sh", "-c", x_cmd, NULL);
30+ execl("/bin/bash", "/bin/bash", "-c", x_cmd, NULL);
31 syslog(LOG_WARNING, "Could not execute X server.");
32 exit(1);
33 default:
This page took 0.067032 seconds and 4 git commands to generate.