diff options
author | romkatv <roman.perepelitsa@gmail.com> | 2020-02-02 00:03:42 +0300 |
---|---|---|
committer | romkatv <roman.perepelitsa@gmail.com> | 2020-02-02 00:03:42 +0300 |
commit | eb9da89ad9a8bd886e43c7f1d907495c5a48acc5 (patch) | |
tree | cea0ce149c6f9a2c2b11e05f92e6a65f6773defb /internal/worker.zsh | |
parent | c08d1e846bd944d7e73a578c67fc63aa893ae888 (diff) |
quote $foo when running with unknown options; fixes #453
Diffstat (limited to 'internal/worker.zsh')
-rw-r--r-- | internal/worker.zsh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/worker.zsh b/internal/worker.zsh index 518b34fd..6b369740 100644 --- a/internal/worker.zsh +++ b/internal/worker.zsh @@ -85,7 +85,7 @@ function _p9k_worker_invoke() { } function _p9k_worker_cleanup() { - eval $__p9k_intro + eval "$__p9k_intro" [[ $_p9k__worker_shell_pid == $sysparams[pid] ]] && _p9k_worker_stop return 0 } @@ -106,7 +106,7 @@ function _p9k_worker_stop() { } function _p9k_worker_receive() { - eval $__p9k_intro + eval "$__p9k_intro" [[ -z $_p9k__worker_resp_fd ]] && return |