added exit status

This commit is contained in:
Václav Šmejkal 2022-04-27 18:47:57 +02:00
parent d111f3bb47
commit 48b6b8a5cc

View File

@ -5,7 +5,7 @@ DISTRO=$(lsb_release -is)
if [[ $(id -u) != "0" ]] && [[ $1 != "force" ]]; then if [[ $(id -u) != "0" ]] && [[ $1 != "force" ]]; then
echo "You must run this script as root! (To skip this, run with 'force' arg: \"./configure.sh force\")" echo "You must run this script as root! (To skip this, run with 'force' arg: \"./configure.sh force\")"
exit exit 1
fi fi
# Get COMMAND # Get COMMAND