fix: don't start app before uninstalling it

This commit is contained in:
Nicolas Meienberger 2022-11-24 21:34:31 +01:00
parent dbddf8ad1c
commit cea3605e06

View file

@ -173,11 +173,6 @@ function uninstall_app() {
write_log "Removing images for app ${app}..."
if ! compose "${app}" up --detach; then
write_log "Failed to uninstall app ${app}"
exit 1
fi
if ! compose "${app}" down --rmi all --remove-orphans; then
# just stop it if we can't remove the images
if ! compose "${app}" rm --force --stop; then