From df0c850ceb4f6ad2227afe0318ad11e1a0b90590 Mon Sep 17 00:00:00 2001 From: Jeremy Lecour Date: Wed, 1 Jun 2022 17:49:28 +0200 Subject: [PATCH] dir-check: mandatory action parameter --- evolinux-base/files/dir-check.sh | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/evolinux-base/files/dir-check.sh b/evolinux-base/files/dir-check.sh index 4a346c92..869ad2ad 100644 --- a/evolinux-base/files/dir-check.sh +++ b/evolinux-base/files/dir-check.sh @@ -22,13 +22,16 @@ END } show_help() { cat <&2 + show_help >&2 + exit 1 + fi + case ${action} in check) check_metadata