Clean deleted connector runtime before sync

This commit is contained in:
Terranom674
2026-08-18 21:13:30 +02:00
parent 237500a8fa
commit 21caddcec5

View File

@@ -10,6 +10,11 @@ if ! php "$SCRIPT_DIR/reconcile.php"; then
exit 1
fi
if ! php "$SCRIPT_DIR/cleanup-stale.php"; then
echo "NC Connector: verwaiste Laufzeitdateien konnten nicht bereinigt werden." >&2
exit 1
fi
configs=("$CONFIG_DIR"/connection-*.conf)
if [[ ${#configs[@]} -eq 0 ]]; then