Re: [patch] fix 'exec -l /bin/bash'

2006-01-15 Thread Mike Frysinger
On Friday 13 January 2006 12:11, Tim Waugh wrote: Description: If bash has argv[0] as '-/bin/bash' it does not become a login shell. Repeat-By: exec -l /bin/bash shopt Fix: patch works for me using screen / login shells thanks -mike

[patch] fix 'exec -l /bin/bash'

2006-01-13 Thread Tim Waugh
Configuration Information [Automatically generated, do not change]: Machine: i386 OS: linux-gnu Compiler: i386-redhat-linux-gcc Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='i386' -DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='i386-redhat-linux-gnu' -DCONF_VENDOR='redhat'