Christian
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
6 additions and
1 deletions
-
lgsm/modules/check_permissions.sh
|
|
@ -225,7 +225,12 @@ fn_sys_perm_error_process() { |
|
|
|
|
|
|
|
## Run permisions checks when not root or docker. |
|
|
|
if [ "$(whoami)" != "root" ] && [ ! -f /.dockerenv ]; then |
|
|
|
if [ "${skipownershipcheck}" != "on" ]; then |
|
|
|
fn_check_ownership |
|
|
|
else |
|
|
|
fn_print_warn_nl "Skipped permission check" |
|
|
|
fn_script_log_warn "Skipped permission check" |
|
|
|
fi |
|
|
|
fn_check_permissions |
|
|
|
if [ "${commandname}" == "START" ]; then |
|
|
|
fn_sys_perm_error_process |
|
|
|