]> arthur.barton.de Git - ConfigScripts.git/commitdiff
Suppress "warning: setlocale: LC_CTYPE: cannot change locale (...)"
authorAlexander Barton <alex@barton.de>
Sun, 26 Jun 2011 14:06:21 +0000 (16:06 +0200)
committerAlexander Barton <alex@barton.de>
Sun, 26 Jun 2011 14:06:21 +0000 (16:06 +0200)
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