avoid spurious error (even if harmless and invisible) on worker cleanup
parent
ad18cd78db
commit
b3875f5193
|
@ -89,7 +89,8 @@ function _p9k_worker_invoke() {
|
|||
}
|
||||
|
||||
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
|
||||
return 0
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue