Jotty: Fix wrong path test in config restore (#15038)

This commit is contained in:
Chris
2026-06-11 08:00:34 -04:00
committed by GitHub
parent 173f49a6f6
commit 5ede4495f9
+1 -1
View File
@@ -47,7 +47,7 @@ function update_script() {
msg_info "Restoring configuration & data"
mv /opt/app.env /opt/jotty/.env
[[ -d /opt/data ]] && mv /opt/data /opt/jotty/data
[[ -d /opt/jotty/config ]] && cp -a /opt/config/* /opt/jotty/config && rm -rf /opt/config
[[ -d /opt/config ]] && cp -a /opt/config/* /opt/jotty/config && rm -rf /opt/config
msg_ok "Restored configuration & data"
msg_info "Starting Service"