From 68257a197c4629e0ef3c15e30a43ce1d385e9dc5 Mon Sep 17 00:00:00 2001 From: romkatv Date: Sat, 22 Feb 2020 18:58:58 +0100 Subject: pull upstream changes from gitstatus --- gitstatus/gitstatus.plugin.zsh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'gitstatus') diff --git a/gitstatus/gitstatus.plugin.zsh b/gitstatus/gitstatus.plugin.zsh index 96f8742a..6f4540c0 100644 --- a/gitstatus/gitstatus.plugin.zsh +++ b/gitstatus/gitstatus.plugin.zsh @@ -577,6 +577,7 @@ function gitstatus_start() { zf_rm -- $file_prefix.lock || return zsystem flock -u $lock_fd || return + unset _GITSTATUS_LOCK_FD_$name typeset -gi _GITSTATUS_STATE_$name=2 fi @@ -661,7 +662,7 @@ function gitstatus_stop() { local req_fd_var=_GITSTATUS_REQ_FD_$name local resp_fd_var=_GITSTATUS_RESP_FD_$name local lock_fd_var=_GITSTATUS_LOCK_FD_$name - local client_pid_var=GITSTATUS_CLIENT_PID_$name + local client_pid_var=_GITSTATUS_CLIENT_PID_$name local daemon_pid_var=GITSTATUS_DAEMON_PID_$name local inflight_var=_GITSTATUS_NUM_INFLIGHT_$name local file_prefix_var=_GITSTATUS_FILE_PREFIX_$name -- cgit v1.2.3