From 6d6751e732421fca4736901314f9e37552cb1bf1 Mon Sep 17 00:00:00 2001 From: Tanguy Herbron Date: Sun, 12 Jun 2022 21:10:55 +0200 Subject: [PATCH] Fix exit statement --- quick-installer.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/quick-installer.sh b/quick-installer.sh index 0d9803b..f427a2d 100755 --- a/quick-installer.sh +++ b/quick-installer.sh @@ -52,6 +52,7 @@ set_creator_ssh_keys() { if ! check_privilege; then echo ">>> Error: Please run as root" >&2 + exit 1 fi check_sudo_installation