From b3bba232ac6e1feff9e506506247aa20cd7f467c Mon Sep 17 00:00:00 2001 From: Lyndon Brown Date: Mon, 30 Mar 2020 17:32:07 +0100 Subject: usage: take exit code as param thus it can correctly indicate success/fail status instead of always indicating failure. when a user asks for usage with -u|--usage then we should exit in success mode rather than failure as when usage in printed in response to incorrect usage. Gbp-Dch: Short --- scripts/build/chroot_selinuxfs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/build/chroot_selinuxfs') diff --git a/scripts/build/chroot_selinuxfs b/scripts/build/chroot_selinuxfs index ef6ed361c..9bab5eb05 100755 --- a/scripts/build/chroot_selinuxfs +++ b/scripts/build/chroot_selinuxfs @@ -64,6 +64,6 @@ case "${1}" in ;; *) - Usage + Usage 1 ;; esac -- cgit v1.2.3