summaryrefslogtreecommitdiff
path: root/gitstatus
diff options
context:
space:
mode:
authorromkatv <roman.perepelitsa@gmail.com>2019-03-17 16:03:10 +0300
committerromkatv <roman.perepelitsa@gmail.com>2019-03-17 16:03:10 +0300
commit1d885a8a690d6d299aabe77b6ad4cfd76eebb300 (patch)
treec95eac8a202285f66307fdeaa4ceee9f7af6fe3c /gitstatus
parent0e8989019ec949e954a396e0440b794d64a8e010 (diff)
pull upstream changes from gitstatus
Diffstat (limited to 'gitstatus')
-rw-r--r--gitstatus/gitstatus.plugin.zsh2
1 files changed, 1 insertions, 1 deletions
diff --git a/gitstatus/gitstatus.plugin.zsh b/gitstatus/gitstatus.plugin.zsh
index b44b8ef3..f3c91eb7 100644
--- a/gitstatus/gitstatus.plugin.zsh
+++ b/gitstatus/gitstatus.plugin.zsh
@@ -194,7 +194,7 @@ function gitstatus_start() {
req_fifo=$(mktemp -u "${TMPDIR:-/tmp}"/gitstatus.$$.pipe.req.XXXXXXXXXX)
mkfifo $req_fifo
- sysopen -rw -o cloexec -u req_fd $req_fifo
+ sysopen -rw -o cloexec,sync -u req_fd $req_fifo
command rm -f $req_fifo
resp_fifo=$(mktemp -u "${TMPDIR:-/tmp}"/gitstatus.$$.pipe.resp.XXXXXXXXXX)