avoid spurious error (even if harmless and invisible) on worker cleanup

pull/778/head
romkatv 5 years ago
parent ad18cd78db
commit b3875f5193

@ -89,7 +89,8 @@ function _p9k_worker_invoke() {
} }
function _p9k_worker_cleanup() { function _p9k_worker_cleanup() {
eval "$__p9k_intro" # langinfo may not be available here.
eval "$__p9k_intro_no_locale"
[[ $_p9k__worker_shell_pid == $sysparams[pid] ]] && _p9k_worker_stop [[ $_p9k__worker_shell_pid == $sysparams[pid] ]] && _p9k_worker_stop
return 0 return 0
} }

Loading…
Cancel
Save