diff --git a/panelctl.sh b/panelctl.sh index 4732113..2730690 100644 --- a/panelctl.sh +++ b/panelctl.sh @@ -254,7 +254,7 @@ cmd_render_route() { # Strip any existing block for this app from the aggregate file. if [[ -f "${APP_ROUTE_FILE}" ]]; then - grep -v "^# route:${name}:" "${APP_ROUTE_FILE}" >"${tmp}" + grep -v "^# route:${name}:" "${APP_ROUTE_FILE}" >"${tmp}" || true else printf "" >"${tmp}" fi