]> arthur.barton.de Git - ConfigScripts.git/blobdiff - sys/profile
Suppress "warning: setlocale: LC_CTYPE: cannot change locale (...)"
[ConfigScripts.git] / sys / profile
index bfebb1ff17adf311747638f26c349de6ff935226..41b767eeaca4ae956caf125d0c39f9af722174c5 100644 (file)
@@ -22,7 +22,7 @@ export UID
 # All system messages should still be in "native" ("C") language:
 export LC_MESSAGES="C"
 # Clean up ...
-unset LC_CTYPE LC_encoding
+unset LC_CTYPE LC_encoding 2>/dev/null
 
 # Initialize PATH variable
 if [ -x /usr/libexec/path_helper ]; then