From 13ca9e6010fc50f1011f543d9c40fe4bcb2ac382 Mon Sep 17 00:00:00 2001 From: Nicolas Frandeboeuf Date: Tue, 14 Feb 2017 08:32:28 +0100 Subject: [PATCH] Use set-u in remove script --- scripts/remove | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/remove b/scripts/remove index 9a5dc51..963a84d 100755 --- a/scripts/remove +++ b/scripts/remove @@ -1,5 +1,8 @@ #!/bin/bash +# Exit on command errors and treat unset variables as an error +set -u + # See comments in install script app=$YNH_APP_INSTANCE_NAME