Error message correction when user is not root

This commit is contained in:
Yorick Barbanneau 2021-01-13 16:44:29 +01:00
parent 5470364f89
commit d014cc0dbb

View file

@ -149,7 +149,7 @@ trap clean 0
process_args "$@"
# Check user
[[ "$(whoami)" == "root" ]] || fatal 1 "You must be root (or use sudo) tu run this script."
[[ "$(whoami)" == "root" ]] || fatal 1 "You must be root (or use sudo) to run this script."
debug "Process variables"
server="${server:=$default_server}"