base/init: fixed " typo

master
Harald Hoyer 2010-11-03 15:41:50 -04:00
parent 7853bbfa7d
commit 921f4b5b52
1 changed files with 1 additions and 1 deletions

View File

@ -282,7 +282,7 @@ for i in $(export -p); do
i=${i#declare -x}
i=${i#export}
# skip RD_ vars
[ "$i" != "${i#RD_} ] && continue
[ "$i" != "${i#RD_}" ] && continue
i=${i%%=*}
[ "$i" = "root" -o "$i" = "PATH" -o "$i" = "HOME" -o "$i" = "TERM" ] || unset $i
done