tmpfilesd: Doing both create+remove at the same time is valid.

Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
This commit is contained in:
Robin H. Johnson 2012-11-05 21:25:32 +00:00
parent 5cf5308ab4
commit 4936b72e0f

View File

@ -232,7 +232,7 @@ if [ $(( CLEAN )) -eq 1 ] ; then
exit 1
fi
if [ $(( CREATE + REMOVE )) -ne 1 ] ; then
if [ "$CREATE$REMOVE" == '00' ]; then
printf 'usage: %s [--create] [--remove] [--clean] [--verbose] [--dry-run]\n' "${0##*/}"
exit 1
fi