We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 20eb96e commit 2091cdcCopy full SHA for 2091cdc
lgsm/functions/check_permissions.sh
@@ -227,7 +227,12 @@ fn_sys_perm_error_process(){
227
228
## Run checks.
229
if [ "$(whoami)" != "root" ]; then
230
- fn_check_ownership
+ if [ "${skipownershipcheck}" != "on" ]; then
231
+ fn_check_ownership
232
+ else
233
+ fn_print_warn_nl "Skipped permission check"
234
+ fn_script_log_warn "Skipped permission check"
235
+ fi
236
fn_check_permissions
237
if [ "${commandname}" == "START" ]; then
238
fn_sys_perm_error_process
0 commit comments