From 3ca1026700cc6c66b4172d99c284001aa9f9cc3a Mon Sep 17 00:00:00 2001 From: Salim B Date: Sat, 13 Jan 2024 16:39:50 +0100 Subject: [PATCH] [syncthing] Fix config migration (again) --- syncthing/root/etc/s6-overlay/s6-rc.d/syncthing/run | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/syncthing/root/etc/s6-overlay/s6-rc.d/syncthing/run b/syncthing/root/etc/s6-overlay/s6-rc.d/syncthing/run index c524f638..f363b8a8 100644 --- a/syncthing/root/etc/s6-overlay/s6-rc.d/syncthing/run +++ b/syncthing/root/etc/s6-overlay/s6-rc.d/syncthing/run @@ -22,7 +22,7 @@ then do [ -f "/data/config/${CONF_FILE}" ] && mv -fn "/data/config/${CONF_FILE}" /config/ && rm -f "/data/config/${CONF_FILE}" done - mv -fn /data/config/* /data/ && rm -f /data/config + mv -fn /data/config/* /data/ && rm -rf /data/config fi bashio::log.info 'Starting Syncthing'