diff options
author | Bill Nottingham <notting@redhat.com> | 2001-02-06 17:06:40 +0000 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2001-02-06 17:06:40 +0000 |
commit | 548bfb4b86d56f466b10c289d2d1f229494538e6 (patch) | |
tree | 030581e5d970128a1225c9475d98dd42d54e2daa | |
parent | 3016587b99f3ac6265db012ced9b3f09f66b4b35 (diff) | |
download | initscripts-548bfb4b86d56f466b10c289d2d1f229494538e6.tar initscripts-548bfb4b86d56f466b10c289d2d1f229494538e6.tar.gz initscripts-548bfb4b86d56f466b10c289d2d1f229494538e6.tar.bz2 initscripts-548bfb4b86d56f466b10c289d2d1f229494538e6.tar.xz initscripts-548bfb4b86d56f466b10c289d2d1f229494538e6.zip |
mon has a subdirectory in odd places as well. (#26924)
-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 fdf8b570..006b1700 100755 --- a/rc.d/rc.sysinit +++ b/rc.d/rc.sysinit @@ -554,7 +554,7 @@ _NEED_XFILES= # I'd use find, but /usr may not be mounted. for afile in /var/lock/* /var/run/*; do if [ -d "$afile" ]; then - [ "`basename $afile`" != "news" -a "`basename $afile`" != "sudo" ] && rm -f $afile/* + [ "`basename $afile`" != "news" -a "`basename $afile`" != "sudo" -a "`basename $afile`" != "mon" ] && rm -f $afile/* else rm -f $afile fi |