lilalo
changeset 149:40d843395547
fixed bug with login shell -bash
author | igor@book.xt.vpn |
---|---|
date | Fri Mar 06 13:34:59 2009 +0600 (2009-03-06) |
parents | 266dae9ce2a1 |
children | 822b36252d7f |
files | l3bashrc |
line diff
1.1 --- a/l3bashrc Tue Dec 16 00:18:23 2008 +0200 1.2 +++ b/l3bashrc Fri Mar 06 13:34:59 2009 +0600 1.3 @@ -96,7 +96,7 @@ 1.4 flush="-f" #linux 1.5 [ -n "$bsd" ] && flush="-t 0" #freebsd 1.6 export L3_PARENT_TTY=`/usr/bin/tty` 1.7 - exec script $flush -c $0 -q $L3_HOME/${L3_SESSION_ID}.script 1.8 + exec script $flush -c ${0#-} -q $L3_HOME/${L3_SESSION_ID}.script 1.9 } 1.10 1.11 # ===================== STAGE 2 ============================