From 6cdd4dcb1cbfb57dc71dcc7c4474361bd6063cf5 Mon Sep 17 00:00:00 2001 From: Ylies Chahi Date: Sun, 13 Aug 2017 03:40:21 +0200 Subject: [PATCH] Update remove --- scripts/remove | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/remove b/scripts/remove index 36d6637..33c094a 100644 --- a/scripts/remove +++ b/scripts/remove @@ -1,7 +1,9 @@ #!/bin/bash +# Exit on command errors and treat unset variables as an error +set -u + # Source app helpers -source _common.sh source /usr/share/yunohost/helpers app=$YNH_APP_INSTANCE_NAME