base/init: fixed " typo
parent
7853bbfa7d
commit
921f4b5b52
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue