mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2024-11-22 04:10:07 +00:00
Merge commit 'e181bc0653ae15ba5730a65b253d499bf22a31bf'
This commit is contained in:
commit
3380f7503e
1 changed files with 1 additions and 1 deletions
|
@ -458,7 +458,7 @@ function _gitstatus_daemon"${1:-}"() {
|
||||||
(( lock_fd == -1 )) && return
|
(( lock_fd == -1 )) && return
|
||||||
|
|
||||||
{
|
{
|
||||||
if zsystem flock -- $file_prefix.lock && [[ -e $file_prefix.lock ]]; then
|
if zsystem flock -- $file_prefix.lock && command sleep 5 && [[ -e $file_prefix.lock ]]; then
|
||||||
zf_rm -f -- $file_prefix.lock $file_prefix.fifo
|
zf_rm -f -- $file_prefix.lock $file_prefix.fifo
|
||||||
kill -- -$pgid
|
kill -- -$pgid
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue