diff options
Diffstat (limited to 'rc.d/rc.sysinit')
-rwxr-xr-x | rc.d/rc.sysinit | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit index d3226e4e..844af28d 100755 --- a/rc.d/rc.sysinit +++ b/rc.d/rc.sysinit @@ -443,7 +443,7 @@ _NEED_XFILES= # Clean up /var # I'd use find, but /usr may not be mounted. for afile in /var/lock/* /var/run/*; do - if [ -d $afile ]; then + if [ -d "$afile" ]; then [ "$afile" != "news" ] && rm -f $afile/* else rm -f $afile |