libs: made error message clearer and more consistent
This commit is contained in:
@@ -134,7 +134,7 @@ check_root()
|
||||
return 0
|
||||
fi
|
||||
if [[ $EUID -ne 0 ]]; then
|
||||
prnt E "That script must be run with root privileges."
|
||||
prnt E "check_root: That script must be run with root privileges."
|
||||
die 4 --force
|
||||
fi
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user