aboutsummaryrefslogtreecommitdiffstats
path: root/got
diff options
context:
space:
mode:
Diffstat (limited to 'got')
-rwxr-xr-xgot7
1 files changed, 5 insertions, 2 deletions
diff --git a/got b/got
index b41091a..436a383 100755
--- a/got
+++ b/got
@@ -24,6 +24,9 @@ if [ "$1" = "-" ]; then
export "$@"
+ login_function=_login
+ display_function=_display
+
function _login
{
read user
@@ -56,8 +59,8 @@ if [ "$1" = "-" ]; then
. "@etc@/@command@rc"
fi
- _display
- _login
+ $display_function
+ $login_function
else
# cannot get any other solution to work with `login`
# then to spawn a new process with pipes preset