From 1304ada817db44eb08fd1513d05b533a7a578438 Mon Sep 17 00:00:00 2001 From: cytopia Date: Thu, 17 Oct 2024 16:56:12 +0200 Subject: [PATCH] Dont fail when removing a pidfile --- bin/autorunner | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/autorunner b/bin/autorunner index 0c87997..ec9fe4a 100755 --- a/bin/autorunner +++ b/bin/autorunner @@ -245,7 +245,7 @@ execute() { logger "err" "(${bin}) could not kill pid: '${pid}'" else # Remove pidfile - rm "${pidfile}" + rm "${pidfile}" || true # Log logger "info" "(${bin}) killed pid: '${pid}'" # Notify