From e804849486c075b442ba7067dace6e6eb44d20fe Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Thu, 18 May 2023 12:56:42 +0100 Subject: gitclone: minor cleanup Signed-off-by: Leah Rowe --- gitclone | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'gitclone') diff --git a/gitclone b/gitclone index 779597b4..20f54453 100755 --- a/gitclone +++ b/gitclone @@ -56,11 +56,9 @@ verify_config() { if [ -z "${revision+x}" ]; then err 'Error: revision not set' - fi - if [ -z "${location+x}" ]; then + elif [ -z "${location+x}" ]; then err 'Error: location not set' - fi - if [ -z "${url+x}" ]; then + elif [ -z "${url+x}" ]; then err 'Error: url not set' fi } -- cgit v1.2.1