mirror of
https://github.com/myvesta/vesta
synced 2025-08-19 21:04:07 -07:00
Fix function check_result
Check_error not defined
This commit is contained in:
parent
1ea1bf6787
commit
5bd270591c
1 changed files with 1 additions and 1 deletions
|
@ -236,7 +236,7 @@ fi
|
||||||
|
|
||||||
# Checking root permissions
|
# Checking root permissions
|
||||||
if [ "x$(id -u)" != 'x0' ]; then
|
if [ "x$(id -u)" != 'x0' ]; then
|
||||||
check_error 1 "Script can be run executed only by root"
|
check_result 1 "Script can be run executed only by root"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Checking admin user account
|
# Checking admin user account
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue