From 2b47ae9d7ced8642319d51471c5b994faed4f212 Mon Sep 17 00:00:00 2001 From: Martin Gondermann Date: Fri, 13 Dec 2013 15:35:00 +0100 Subject: [PATCH] Disown call terminated other background tasks Fixes #28 --- gitprompt.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gitprompt.sh b/gitprompt.sh index e9bdeb6..b0b355e 100644 --- a/gitprompt.sh +++ b/gitprompt.sh @@ -111,7 +111,7 @@ function checkUpstream() { then if [[ -n $(git remote show) ]]; then async_run "git fetch --quiet" - disown + disown -h fi fi }