Don't kill login here. When this happens from ssh is also resets the console menu. Kill $PPID instead which should have the same intended effect.

This commit is contained in:
jim-p 2010-06-01 12:38:36 -04:00
parent 59cfe65d3c
commit 651e77c6f7

View File

@ -155,7 +155,7 @@ case ${opmode} in
fi
;;
"")
killall login ; exit
kill $PPID ; exit
;;
esac