diff options
| author | Bill Nottingham <notting@redhat.com> | 2003-01-30 19:40:59 +0000 |
|---|---|---|
| committer | Bill Nottingham <notting@redhat.com> | 2003-01-30 19:40:59 +0000 |
| commit | 1032c5dd3c190ea73baf043d500e96972d526234 (patch) | |
| tree | dc3bbf19c9845f238a3f3a7360b38f9169c022dd /rc.d | |
| parent | 213eb0cb95ba02f69a0d2c17f49b19ebc3ab8bb2 (diff) | |
clean up sudo files
Diffstat (limited to 'rc.d')
| -rwxr-xr-x | rc.d/rc.sysinit | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit index a41b5437..d7f92316 100755 --- a/rc.d/rc.sysinit +++ b/rc.d/rc.sysinit @@ -653,6 +653,7 @@ _NEED_XFILES= for afile in /var/lock/* /var/run/*; do if [ -d "$afile" ]; then [ "`basename $afile`" != "news" -a "`basename $afile`" != "sudo" -a "`basename $afile`" != "mon" ] && rm -f $afile/* + [ "`basename $afile`" = "sudo" ] && rm -f $afile/*/* else rm -f $afile fi |
