diff options
author | Thomas Bächler <thomas@archlinux.org> | 2010-09-07 22:43:38 +0200 |
---|---|---|
committer | Thomas Bächler <thomas@archlinux.org> | 2010-09-07 22:43:38 +0200 |
commit | 3904e34fe3605b84ac5a0309a2e033127272a108 (patch) | |
tree | 8b8c027cfb1e4674ca315cf631da7b2455530711 /rc.sysinit | |
parent | 8dfde2f793d5403313973216c0d192d6cf6f4def (diff) | |
download | initscripts-3904e34fe3605b84ac5a0309a2e033127272a108.tar.xz |
Remove a redundant subshell, see FS#20016
Diffstat (limited to 'rc.sysinit')
-rwxr-xr-x | rc.sysinit | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -275,7 +275,7 @@ stat_busy "Removing Leftover Files" /bin/rm -f /var/lock/* &>/dev/null /bin/rm -rf /tmp/* /tmp/.* &>/dev/null /bin/rm -f /forcefsck &>/dev/null -(cd /var/run && /usr/bin/find . \! -type d -delete ) +[[ -d /var/run ]] && /usr/bin/find /var/run/ \! -type d -delete ) : >| /var/run/utmp /bin/chmod 0664 /var/run/utmp # Keep {x,k,g}dm happy with xorg |