Polish before first GitHub push: consistent adapter usage and naming

stability_watchdog.sh mover check now uses platform_is_mover_running()
instead of raw pgrep, matching server_reboot.sh.

check_unraid_version_parity() renamed to check_os_version_parity() —
the function internals were already platform-neutral after the adapter
refactor; the name was the last Unraid artifact.
This commit is contained in:
Gmer4Lfe
2026-06-14 01:30:16 -04:00
parent ee5a07be1c
commit b4d6866f40
7 changed files with 10 additions and 10 deletions
+1 -1
View File
@@ -662,7 +662,7 @@ run_handback() {
echo ""
echo "━━━ $ICON_SHIELD Pre-flight ━━━"
if ! check_unraid_version_parity; then
if ! check_os_version_parity; then
warn "Version parity check failed — aborting handback, will retry next cycle"
state_set handback_strikes 0
return 1
+1 -1
View File
@@ -257,7 +257,7 @@ else
fi
# Version parity — test may produce misleading results on mismatch
if ! check_unraid_version_parity; then
if ! check_os_version_parity; then
error "unRAID version mismatch — test aborted to prevent misleading results"
phase_fail "Pre-flight"
exit 1