From dc59bb4dcffe8b78f17dd7b4af906e80a6f2e6c6 Mon Sep 17 00:00:00 2001 From: DDATAA <45762540+Ddataa@users.noreply.github.com> Date: Thu, 27 Oct 2022 20:28:39 +0000 Subject: [PATCH] Update remove --- scripts/remove | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/remove b/scripts/remove index 39e73ba..b618a01 100644 --- a/scripts/remove +++ b/scripts/remove @@ -73,7 +73,7 @@ ynh_script_progression --message="Removing sandbox domain..." --weight=1 if ! [ ${PACKAGE_CHECK_EXEC:-0} -eq 1 ]; then sandboxdomain=sandbox-$domain - if sudo yunohost domain list | grep -q $sandboxdomain + if yunohost domain list | grep -q $sandboxdomain then #if domain exist we remove it yunohost domain remove $sandboxdomain fi