From 79d2786638e265dca853ade3f5a84cf953b73abe Mon Sep 17 00:00:00 2001 From: billz Date: Sun, 19 Apr 2020 12:35:29 +0100 Subject: [PATCH] Update w/ install_status --- installers/raspbian.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/installers/raspbian.sh b/installers/raspbian.sh index fdad11e4..d0e72769 100755 --- a/installers/raspbian.sh +++ b/installers/raspbian.sh @@ -158,11 +158,11 @@ if [ "${install_cert:-}" = 1 ]; then source="mkcert" wget -q ${UPDATE_URL}installers/${source}.sh -O /tmp/raspap_${source}.sh source /tmp/raspap_${source}.sh && rm -f /tmp/raspap_${source}.sh - _install_certificate || _install_error "Unable to install certificate" + _install_certificate || _install_status 1 "Unable to install certificate" else source="common" wget -q ${UPDATE_URL}installers/${source}.sh -O /tmp/raspap_${source}.sh source /tmp/raspap_${source}.sh && rm -f /tmp/raspap_${source}.sh - _install_raspap || _install_error "Unable to install RaspAP" + _install_raspap || _install_status 1 "Unable to install RaspAP" fi