mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-09-01 02:53:16 +02:00
immich: tolerate enable-maintenance-mode crash, same as disable-maintenance-mode (#16866)
This commit is contained in:
committed by
GitHub
parent
a3b0d9fcbd
commit
c45ce24995
+1
-1
@@ -117,7 +117,7 @@ EOF
|
||||
if [[ $(cat ~/.immich) > "2.5.1" ]]; then
|
||||
msg_info "Enabling Maintenance Mode"
|
||||
cd /opt/immich/app/bin
|
||||
$STD ./immich-admin enable-maintenance-mode
|
||||
$STD ./immich-admin enable-maintenance-mode || true
|
||||
export MAINT_MODE=1
|
||||
$STD cd -
|
||||
msg_ok "Enabled Maintenance Mode"
|
||||
|
||||
Reference in New Issue
Block a user