summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gitstatus/gitstatus.plugin.zsh3
1 files changed, 2 insertions, 1 deletions
diff --git a/gitstatus/gitstatus.plugin.zsh b/gitstatus/gitstatus.plugin.zsh
index 12d1f167..1d16354d 100644
--- a/gitstatus/gitstatus.plugin.zsh
+++ b/gitstatus/gitstatus.plugin.zsh
@@ -562,6 +562,7 @@ function gitstatus_start() {
done
} always {
local -i ret=$?
+ zf_rm -f -- $file_prefix.lock $file_prefix.fifo
kill -- -$pgid
}
} &!
@@ -575,7 +576,7 @@ function gitstatus_start() {
fi
} &!
) || return
- } 3>>$daemon_log </dev/null >/dev/null || return
+ } <&- >&- 3>>$daemon_log || return
typeset -gi _GITSTATUS_STATE_$name=1
fi