init.d/bootmisc: Another instance of the same pattern matching case.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
This commit is contained in:
parent
f6c3896087
commit
670589571e
@ -29,7 +29,7 @@ cleanup_tmp_dir()
|
|||||||
# Faster than raw find
|
# Faster than raw find
|
||||||
if ! rm -rf -- [!ajlq\.]* 2>/dev/null ; then
|
if ! rm -rf -- [!ajlq\.]* 2>/dev/null ; then
|
||||||
# Blah, too many files
|
# Blah, too many files
|
||||||
find . -maxdepth 1 -name '[^ajlq\.]*' -exec rm -rf -- {} +
|
find . -maxdepth 1 -name '[!ajlq\.]*' -exec rm -rf -- {} +
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# pam_mktemp creates a .private directory within which
|
# pam_mktemp creates a .private directory within which
|
||||||
|
Loading…
Reference in New Issue
Block a user