Error message correction when user is not root
This commit is contained in:
parent
5470364f89
commit
d014cc0dbb
1 changed files with 1 additions and 1 deletions
|
@ -149,7 +149,7 @@ trap clean 0
|
||||||
process_args "$@"
|
process_args "$@"
|
||||||
|
|
||||||
# Check user
|
# 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"
|
debug "Process variables"
|
||||||
server="${server:=$default_server}"
|
server="${server:=$default_server}"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue