Add missing acquire_lock calls to arr_sync, bulk_permissions_repair, container_data_export

arr_sync.sh had acquire_lock documented in OPERATIONAL SAFEGUARDS header but the
call was never present in the code — two sync instances could run simultaneously.
bulk_permissions_repair.sh and container_data_export.sh had no lock at all.

All three are now consistent with every other script in Media/ and Tools/.
This commit is contained in:
Gmer4Lfe
2026-05-20 17:55:18 -04:00
parent 649a3b7b62
commit 5c13495a6c
3 changed files with 6 additions and 0 deletions
+2
View File
@@ -96,6 +96,8 @@ if [[ "$EUID" -ne 0 ]]; then
exit 1
fi
acquire_lock
validate_unraid_cmd \
"/usr/local/emhttp/plugins/dynamix/scripts/notify" \
"" "" \
+2
View File
@@ -86,6 +86,8 @@ if [[ "$EUID" -ne 0 ]]; then
exit 1
fi
acquire_lock
validate_unraid_cmd \
"/usr/local/emhttp/plugins/dynamix/scripts/notify" \
"" "" \