From 0f59ff4186b74447e5d42adfd951345e9dfad2fc Mon Sep 17 00:00:00 2001 From: "CanbiZ (MickLesk)" <47820557+MickLesk@users.noreply.github.com> Date: Wed, 22 Apr 2026 06:25:41 +0200 Subject: [PATCH] Fix backup command to handle errors correctly --- ct/ownfoil.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ct/ownfoil.sh b/ct/ownfoil.sh index 768a0e220..3a770f614 100644 --- a/ct/ownfoil.sh +++ b/ct/ownfoil.sh @@ -35,7 +35,7 @@ function update_script() { msg_ok "Stopped Service" msg_info "Backing up Data" - cp -r /opt/ownfoil/app/config /opt/ownfoil_data_backup 2>/dev/null || true + cp -r /opt/ownfoil/app/config /opt/ownfoil_data_backup msg_ok "Backed up Data" CLEAN_INSTALL=1 fetch_and_deploy_gh_release "ownfoil" "a1ex4/ownfoil" "tarball"