summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/locale.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/locale.sh b/src/locale.sh
index 63a38e9..bcafb29 100644
--- a/src/locale.sh
+++ b/src/locale.sh
@@ -38,7 +38,8 @@ _try_load_locale()
# informative error message before aborting, we need this
# eval/cat command. This is more resilient against race
# conditions than `[ -f "${ms}" ]` is.
- eval "$(cat -- "${ms}" 2>/dev/null)" || continue
+ ms="$(cat -- "${ms}" 2>/dev/null)" || continue
+ eval "${ms}"
return 0
done