added safe guards to all scripts that need it. all reference comm.sh like it should be
This commit is contained in:
@@ -55,6 +55,8 @@ fi
|
||||
|
||||
success "Running as root"
|
||||
|
||||
acquire_lock
|
||||
|
||||
# Ensure state and persistent files exist
|
||||
touch "$SYS_WATCHDOG_STATE_FILE" 2>/dev/null || {
|
||||
error "Cannot create state file: $SYS_WATCHDOG_STATE_FILE"
|
||||
|
||||
Reference in New Issue
Block a user