From 70c5dc222cef9eaa64b7d700216994eecbdd543e Mon Sep 17 00:00:00 2001 From: Asif Bacchus Date: Mon, 22 Oct 2018 06:03:30 -0600 Subject: [PATCH] Changed exit code for non-root execution to 3, unique --- root/scripts/backup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/root/scripts/backup.sh b/root/scripts/backup.sh index e100b0f..37e589d 100644 --- a/root/scripts/backup.sh +++ b/root/scripts/backup.sh @@ -394,7 +394,7 @@ done ## If not running as root, display error on console and exit if [ $(id -u) -ne 0 ]; then echo -e "\n${err}This script MUST be run as ROOT. Exiting.${normal}" - exit 2 + exit 3 fi ## Find mailcow configuration file so additional variables can be read