]> git.pld-linux.org Git - packages/entrance.git/blob - entrance-use_bash.patch
- up to 0.9.9.042
[packages/entrance.git] / entrance-use_bash.patch
1 --- entrance-0.9.0.009/src/client/entrance_session.c.orig       2007-04-03 13:36:51.000000000 +0200
2 +++ entrance-0.9.0.009/src/client/entrance_session.c    2007-09-09 18:38:09.567076559 +0200
3 @@ -854,7 +854,7 @@
4     if (shell && (strlen(shell) > 0))
5        shell_cmd = shell;
6     else
7 -      shell_cmd = strdup("/bin/sh");
8 +      shell_cmd = strdup("/bin/bash");
9  
10     if (session_name)
11        snprintf(buf, sizeof(buf), "%s %s", session_cmd, session_name);
12 @@ -871,7 +871,7 @@
13        syslog(LOG_NOTICE,
14               "Neither '%s' or '/bin/sh' are working login shells for user '%s'. Your session may not function properly. ",
15               shell, user);
16 -      shell_cmd = strdup("/bin/sh");
17 +      shell_cmd = strdup("/bin/bash");
18     
19     res = execlp(shell_cmd, shell_cmd, "-c", buf, NULL);
20  
This page took 0.022007 seconds and 3 git commands to generate.