aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2008-03-14 15:45:00 -0400
committerBill Nottingham <notting@redhat.com>2008-03-14 15:45:00 -0400
commit6e95a2571e8f124559b131b0c74aaa4ee886963c (patch)
tree80255e8f46bab37d6121f5bbd27040ae4d525354
parent5044c50c9c975fd870c64710f36edd2b5a8ca7a4 (diff)
downloadinitscripts-6e95a2571e8f124559b131b0c74aaa4ee886963c.tar
initscripts-6e95a2571e8f124559b131b0c74aaa4ee886963c.tar.gz
initscripts-6e95a2571e8f124559b131b0c74aaa4ee886963c.tar.bz2
initscripts-6e95a2571e8f124559b131b0c74aaa4ee886963c.tar.xz
initscripts-6e95a2571e8f124559b131b0c74aaa4ee886963c.zip
don't leak consoletype into the environment
-rwxr-xr-xlang.csh1
-rwxr-xr-xlang.sh2
2 files changed, 2 insertions, 1 deletions
diff --git a/lang.csh b/lang.csh
index 5757088c..72f39435 100755
--- a/lang.csh
+++ b/lang.csh
@@ -77,4 +77,5 @@ if ($sourced == 1) then
endif
unsetenv SYSFONTACM
unsetenv SYSFONT
+ unsetenv consoletype
endif
diff --git a/lang.sh b/lang.sh
index ae02ed01..62364d06 100755
--- a/lang.sh
+++ b/lang.sh
@@ -84,7 +84,7 @@ if [ "$sourced" = 1 ]; then
esac
fi
- unset SYSFONTACM SYSFONT
+ unset SYSFONTACM SYSFONT consoletype
fi
unset sourced
unset langfile