diff options
-rwxr-xr-x | watch-bz | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -101,7 +101,7 @@ do_init_login () { "while [ ! -f \"${BUGZILLA_COOKIE}\" ]; do \ sleep 1; \ done" \ - && echo "wow, cookie emerged" + && echo " entering..." kill -USR1 -$$ } & read -s -p 'Password (1 min timeout): ' BZPASSWORD \ || return $? @@ -136,7 +136,7 @@ do_init_login () { # exclusively using globals do_init () { # C-c handler to optionally remove cookie on exit - test $BUGZILLA_LOGOUT -ne 0 && trap do_logout INT + test $BUGZILLA_LOGOUT -ne 0 && trap do_logout 0 # login when appropriate if [ -n "$BZUSER" ] && [ ! -f "${BUGZILLA_COOKIE}" ]; then |