From 1ee39862edefbba0bdf6c22f572570f89fea058a Mon Sep 17 00:00:00 2001 From: Peter Marquardt Date: Fri, 5 Sep 2025 11:50:56 +0200 Subject: [PATCH] small fixes startstop: nginx - remove pid files when test fails --- startstop.build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/startstop.build.sh b/startstop.build.sh index ac7a39f..52f8518 100755 --- a/startstop.build.sh +++ b/startstop.build.sh @@ -30,9 +30,9 @@ function pwait() { #### nginx #### srv_nginx_start() { + trap rm_pidfiles EXIT nginx -t srv_granian_waitup - trap rm_pidfiles EXIT nginx -g 'daemon off;' }