aboutsummaryrefslogtreecommitdiff
path: root/etc/private/vm-login
diff options
context:
space:
mode:
Diffstat (limited to 'etc/private/vm-login')
-rwxr-xr-xetc/private/vm-login3
1 files changed, 1 insertions, 2 deletions
diff --git a/etc/private/vm-login b/etc/private/vm-login
index 4573cba..28e8864 100755
--- a/etc/private/vm-login
+++ b/etc/private/vm-login
@@ -6,8 +6,7 @@
#
usage="usage: $0 <console-socket>"
-owd="$(pwd)"
-trap "{ cd '$owd'; exit 1; }" ERR
+trap "{ exit 1; }" ERR
set -o errtrace # Trap in functions.
function info () { echo "$*" 1>&2; }