mirror of
https://github.com/Terranom674/Piwigo_Bratonien_Tools.git
synced 2026-11-05 09:32:17 +00:00
Clean deleted connector runtime before sync
This commit is contained in:
1 parent
237500a8fa
commit
21caddcec5
1 file changed
+5
@@ -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
|
||||
|
||||
Reference in new issue
Block a user