fixed permission updates to route.caddy when removing container

This commit is contained in:
Jakub Dorfman 2026-04-27 00:27:38 +02:00
parent e5a902d562
commit 7bade10412

View file

@ -455,7 +455,7 @@ cmd_remove() {
local tmp
tmp="$(mktemp)"
sed "/^# route:${name}:start$/,/^# route:${name}:end$/d" "${route_file}" >"${tmp}" || true
mv "${tmp}" "${route_file}"
install -m 0664 -o reudy -g panelroutes "${tmp}" "${route_file}"
fi
rm -f "$(app_manifest "${name}")"