aboutsummaryrefslogtreecommitdiff
path: root/internal
diff options
context:
space:
mode:
authorromkatv <roman.perepelitsa@gmail.com>2020-05-26 21:15:53 +0300
committerromkatv <roman.perepelitsa@gmail.com>2020-05-26 21:15:53 +0300
commitb3875f519313319530913f7e894f3b491c81278c (patch)
tree5b3c11786cc7a9474c1255197a8d1def92dc21f2 /internal
parentad18cd78dba0676a5f1fefcebce9e7283a2bcbb7 (diff)
avoid spurious error (even if harmless and invisible) on worker cleanup
Diffstat (limited to 'internal')
-rw-r--r--internal/worker.zsh3
1 files changed, 2 insertions, 1 deletions
diff --git a/internal/worker.zsh b/internal/worker.zsh
index 9e78bc15..4b3f40e4 100644
--- a/internal/worker.zsh
+++ b/internal/worker.zsh
@@ -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
}