From d6683e4ba3a98f5415edee1f98baf1b1d1280a2e Mon Sep 17 00:00:00 2001 From: "ljf (zamentur)" Date: Wed, 14 Apr 2021 13:01:48 +0200 Subject: [PATCH] [fix] Unbound var --- scripts/install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/install b/scripts/install index 0f7bdeb..984b315 100755 --- a/scripts/install +++ b/scripts/install @@ -30,7 +30,7 @@ ynh_export ssh_user public_key quota alert_delay alert_mails #================================================= # Here is a small hack to avoid multi install CI test to fail due # to same ssh_user provided -if [[ "$PACKAGE_CHECK_EXEC" = "1" ]] ; then +if [[ "${PACKAGE_CHECK_EXEC:-}" = "1" ]] ; then ssh_user+="$YNH_APP_INSTANCE_NUMBER" fi ynh_system_user_exists --username=$ssh_user && ynh_die --message="This user already exists"