From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id CAF781381F3 for ; Mon, 5 Nov 2012 21:26:23 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1420221C05B; Mon, 5 Nov 2012 21:25:59 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 8192D21C05B for ; Mon, 5 Nov 2012 21:25:59 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id C502A33C878 for ; Mon, 5 Nov 2012 21:25:58 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id EDA30E5442 for ; Mon, 5 Nov 2012 21:25:55 +0000 (UTC) From: "Robin H. Johnson" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Robin H. Johnson" Message-ID: <1352150732.4936b72e0f0d20168473df9a4598b8159245d45b.robbat2@OpenRC> Subject: [gentoo-commits] proj/openrc:master commit in: sh/ X-VCS-Repository: proj/openrc X-VCS-Files: sh/tmpfiles.sh.in X-VCS-Directories: sh/ X-VCS-Committer: robbat2 X-VCS-Committer-Name: Robin H. Johnson X-VCS-Revision: 4936b72e0f0d20168473df9a4598b8159245d45b X-VCS-Branch: master Date: Mon, 5 Nov 2012 21:25:55 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: ee1ef90b-f6fa-4513-aa67-27fae53365ca X-Archives-Hash: d8c4a0b155c35905d2252c3552a14ca1 commit: 4936b72e0f0d20168473df9a4598b8159245d45b Author: Robin H. Johnson gentoo org> AuthorDate: Mon Nov 5 21:25:32 2012 +0000 Commit: Robin H. Johnson gentoo org> CommitDate: Mon Nov 5 21:25:32 2012 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/openrc.git;a=commit;h=4936b72e tmpfilesd: Doing both create+remove at the same time is valid. Signed-off-by: Robin H. Johnson gentoo.org> --- 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