[root@cooker supermount]# su - bor
id: cannot find name for group ID 504
/etc/profile.d/ssh-client.sh:2: command not found: shopt

This is trivial patch (but hup is default with zsh anyway)

-andrej

--- ssh-client.sh.bor   Thu Oct  4 10:17:30 2001
+++ ssh-client.sh       Thu Oct  4 15:19:07 2001
@@ -1,2 +1,6 @@
 # fix hanging ssh clients on exit
-shopt -s huponexit
+if test -n "$ZSH_VERSION"; then
+       setopt hup
+else
+       shopt -s huponexit
+fi

Reply via email to