Merge commit '00cfdb48a8c74150814792e4deccff2a1ce91ad0'

pull/778/head
romkatv 2020-05-19 20:20:39 +02:00
commit 072fc38ebe
1 changed files with 3 additions and 0 deletions

View File

@ -356,6 +356,9 @@ function _gitstatus_process_response"${1:-}"() {
function _gitstatus_daemon"${1:-}"() {
local -i pipe_fd
exec 0<&- {pipe_fd}>&1 1>>$daemon_log 2>&1 || return
(( __p9k_fd_0 )) && exec {__p9k_fd_0}>&-
(( __p9k_fd_1 )) && exec {__p9k_fd_1}>&-
(( __p9k_fd_2 )) && exec {__p9k_fd_2}>&-
local pgid=$sysparams[pid]
[[ $pgid == <1-> ]] || return
builtin cd -q / || return