]> git.ipfire.org Git - ipfire-2.x.git/blob - src/patches/bash-3.1-login.patch
Pakfire laedt die Listen jetzt besser und hat eine veraenderte Oberflaeche bekommen.
[ipfire-2.x.git] / src / patches / bash-3.1-login.patch
1 --- bash-3.1/shell.c.login 2006-01-13 16:52:14.000000000 +0000
2 +++ bash-3.1/shell.c 2006-01-13 16:52:15.000000000 +0000
3 @@ -1543,9 +1543,10 @@
4 any startup files; just try to be more like /bin/sh. */
5 shell_name = argv0 ? base_pathname (argv0) : PROGRAM;
6
7 - if (*shell_name == '-')
8 + if (argv0 && *argv0 == '-')
9 {
10 - shell_name++;
11 + if (*shell_name == '-')
12 + shell_name++;
13 login_shell++;
14 }
15