mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-04-28 11:50:06 +00:00
Fix backup command to handle errors correctly
This commit is contained in:
parent
eed21a46e8
commit
0f59ff4186
1 changed files with 1 additions and 1 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue