From eb9da89ad9a8bd886e43c7f1d907495c5a48acc5 Mon Sep 17 00:00:00 2001 From: romkatv Date: Sat, 1 Feb 2020 22:03:42 +0100 Subject: quote $foo when running with unknown options; fixes #453 --- internal/worker.zsh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'internal/worker.zsh') 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 -- cgit v1.2.3