1
0
Fork 0
mirror of https://github.com/romkatv/powerlevel10k.git synced 2024-12-25 16:31:57 +00:00

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

This commit is contained in:
romkatv 2020-05-26 20:15:53 +02:00
parent ad18cd78db
commit b3875f5193

View file

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