aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorromkatv <roman.perepelitsa@gmail.com>2020-04-12 15:42:02 +0300
committerromkatv <roman.perepelitsa@gmail.com>2020-04-12 15:42:02 +0300
commit303417688e04cff79f8eb40ee2cd1a8ae9c1c34f (patch)
tree6d0c624c0e9e6a829c8ae687ba2c78b8069cba50
parent7963a365d86671c0f60e1d7953e542bfb4a32066 (diff)
pull upstream changes from gitstatus
-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