quote $foo when running with unknown options; fixes #453

This commit is contained in:
romkatv 2020-02-01 22:03:42 +01:00
commit eb9da89ad9
5 changed files with 19 additions and 19 deletions

View file

@ -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