From 2fe5d2768b8ea6581c69308df445b60ae19c5010 Mon Sep 17 00:00:00 2001 From: Raimund Hook <1150270+StingRayZA@users.noreply.github.com> Date: Wed, 28 Aug 2019 15:35:56 +0100 Subject: [PATCH] Changed SELinux error to fatal If the install errors out on semanage not found, a file not found is thrown as a 'file not found' for error. Updating to 'fatal' resolves this as the script then exits as intended and throws an 'error'. --- install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.sh b/install.sh index 63468250b5..b1aa063461 100755 --- a/install.sh +++ b/install.sh @@ -344,7 +344,7 @@ setup_binary() { fi $SUDO restorecon -v ${BIN_DIR}/k3s > /dev/null else - error 'SELinux is enabled but semanage is not found' + fatal 'SELinux is enabled but semanage is not found' fi fi fi