Correctif autoscreen sur shell pas de login
This commit is contained in:
1 parent
fe05610919
commit
5ab1aa11e9
1 file changed
+5
-1
+5
-1
@@ -6,6 +6,10 @@ if [ "x$SSH_CLIENT" != "x" ]; then
|
||||
ln -sf "$SSH_AUTH_SOCK" "$SOCK"
|
||||
export SSH_AUTH_SOCK="$SOCK"
|
||||
fi
|
||||
screen -xR && logout
|
||||
if [ x"$0" = x"-zsh" ];then
|
||||
screen -xR && logout
|
||||
else
|
||||
exec screen -xR
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
Reference in new issue
Block a user