diff options
author | romkatv <roman.perepelitsa@gmail.com> | 2019-05-03 14:38:50 +0300 |
---|---|---|
committer | romkatv <roman.perepelitsa@gmail.com> | 2019-05-03 14:38:50 +0300 |
commit | afa798e4598ec3010057bbe6e4a1d0c96f44c1fe (patch) | |
tree | 108d53e8a8af4b2e1f455a947b44533e2dc38403 /gitstatus | |
parent | e665281508431e2ad791ad9c5935f40417b6bd4b (diff) |
pull upstream changes from gitstatus
Diffstat (limited to 'gitstatus')
-rw-r--r-- | gitstatus/gitstatus.plugin.zsh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gitstatus/gitstatus.plugin.zsh b/gitstatus/gitstatus.plugin.zsh index d7b32d65..ef288c06 100644 --- a/gitstatus/gitstatus.plugin.zsh +++ b/gitstatus/gitstatus.plugin.zsh @@ -240,8 +240,8 @@ function gitstatus_start() { local os && os=$(uname -s) && [[ -n $os ]] local arch && arch=$(uname -m) && [[ -n $arch ]] - local daemon && daemon=${GITSTATUS_DAEMON:-$dir/bin/gitstatusd-${os:l}-${arch:l}} - [[ -f $daemon ]] || { echo "file not found: $daemon" >&2 && return 1 } + local daemon=${GITSTATUS_DAEMON:-$dir/bin/gitstatusd-${os:l}-${arch:l}} + [[ -f $daemon ]] lock_file=$(mktemp "${TMPDIR:-/tmp}"/gitstatus.$$.lock.XXXXXXXXXX) zsystem flock -f lock_fd $lock_file |