From 303417688e04cff79f8eb40ee2cd1a8ae9c1c34f Mon Sep 17 00:00:00 2001 From: romkatv Date: Sun, 12 Apr 2020 14:42:02 +0200 Subject: [PATCH] pull upstream changes from gitstatus --- gitstatus/gitstatus.plugin.zsh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 || return + } <&- >&- 3>>$daemon_log || return typeset -gi _GITSTATUS_STATE_$name=1 fi