From 91d2f23af7043e6cbc7708c2524bf30ff0627781 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A9lix=20MARQUET?= <72651575+BreizhHardware@users.noreply.github.com> Date: Thu, 11 Apr 2024 14:48:21 +0000 Subject: [PATCH] Fix && instead of $$ --- startup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/startup.sh b/startup.sh index e2b645c..0036779 100644 --- a/startup.sh +++ b/startup.sh @@ -36,7 +36,7 @@ monitor_all() { echo "Program with PID $pid has terminated, stopping other programs" pkill -P $$ -f "lidar|arucoDetector|ihm_robot" sleep 1 - pkill -P && -f "socketServer" + pkill -P $$ -f "socketServer" break fi done