aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--cron-sh/functions.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/cron-sh/functions.sh b/cron-sh/functions.sh
index f5ae7a7..123ae11 100644
--- a/cron-sh/functions.sh
+++ b/cron-sh/functions.sh
@@ -1,7 +1,10 @@
#!/bin/bash
# msec: shared function
-. /etc/sysconfig/i18n
+if [[ -f /etc/sysconfig/i18n ]]; then
+ . /etc/sysconfig/i18n
+fi
+
if [[ -f /etc/profile.d/10lang.sh ]]; then
. /etc/profile.d/10lang.sh
fi