Fix && instead of $$

This commit is contained in:
Félix MARQUET
2024-04-11 14:48:21 +00:00
parent ad25d445f2
commit 91d2f23af7

View File

@@ -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