mirror of
https://github.com/modelec/Initialisation.git
synced 2026-01-18 15:57:20 +01:00
Fix && instead of $$
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user