summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>1998-04-25 04:34:33 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>1998-04-25 04:34:33 +0000
commitb606b94feecf5d95f02f03162ecea310e6a05cdb (patch)
tree477bd70c9525f1d2c4626bc97931f4f8721570e8
parent538d6bef7dd7cb275730dcd7183b13e67ae7a35b (diff)
fix ^C in termtype prompt for real this time
-rw-r--r--etc/root/dot.login6
1 files changed, 3 insertions, 3 deletions
diff --git a/etc/root/dot.login b/etc/root/dot.login
index cb0e928e6e1..12f30e2dff5 100644
--- a/etc/root/dot.login
+++ b/etc/root/dot.login
@@ -1,6 +1,6 @@
-set noglob
-eval `tset -s -Q ?$TERM`
-unset noglob
+set tterm='?'$TERM
+eval `set noglob ; tset -s -Q $tterm ; unset noglob`
+unset tterm
if ( `logname` == `whoami` ) then
echo "Don't login as root, use su"