|
@@ -7,7 +7,7 @@ lgsm_version="210516"
|
|
|
if [ $(whoami) = "root" ]; then
|
|
if [ $(whoami) = "root" ]; then
|
|
|
fn_print_fail_nl "Do NOT run this script as root!"
|
|
fn_print_fail_nl "Do NOT run this script as root!"
|
|
|
if [ -d "${scriptlogdir}" ]; then
|
|
if [ -d "${scriptlogdir}" ]; then
|
|
|
- fn_script_log "${selfname} attempted to run as root."
|
|
|
|
|
|
|
+ fn_scriptlog "${selfname} attempted to run as root."
|
|
|
fi
|
|
fi
|
|
|
exit 1
|
|
exit 1
|
|
|
fi
|
|
fi
|