Fix function check_result

Check_error not defined
This commit is contained in:
Maksim Usmanov | Maks 2018-09-09 13:51:00 +02:00 committed by GitHub
commit 5bd270591c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -236,7 +236,7 @@ fi
# Checking root permissions
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
# Checking admin user account