diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2012-11-05 21:25:32 +0000 |
---|---|---|
committer | William Hubbs <w.d.hubbs@gmail.com> | 2012-11-05 15:36:10 -0600 |
commit | e473ab968c70edbbaa6e1ce2d7b8046400609304 (patch) | |
tree | 7375bd5bdace4968935a95348d3e64d440324b74 | |
parent | b8a5a1a309421eaa0cd467763a40042d24db56b4 (diff) | |
download | openrc-e473ab968c70edbbaa6e1ce2d7b8046400609304.tar.gz openrc-e473ab968c70edbbaa6e1ce2d7b8046400609304.tar.bz2 openrc-e473ab968c70edbbaa6e1ce2d7b8046400609304.tar.xz |
tmpfilesd: Doing both create+remove at the same time is valid.openrc-0.11.4
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
-rwxr-xr-x | sh/tmpfiles.sh.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sh/tmpfiles.sh.in b/sh/tmpfiles.sh.in index ae7b7ca..a5041bb 100755 --- a/sh/tmpfiles.sh.in +++ b/sh/tmpfiles.sh.in @@ -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 |