Commit 51475fd8 authored by Jorrit Schaap's avatar Jorrit Schaap

Merge branch 'ROHD-2426-fix' into 'LOFAR-Release-4_0'

ROHD-2426: Apply timeout on writing to pipe when stopping an observation that...

See merge request ro/lofar!133
parents f1b85826 6dc64551
......@@ -36,7 +36,7 @@ function writecommand {
# Send the stop command for a graceful shutdown
COMMAND_HOST=`getCobaltHosts -C $PARSET`
timeout 60s ssh $COMMAND_HOST "timeout 60s echo $CMD > $PIPE"
timeout 60s ssh $COMMAND_HOST "timeout 60s bash -c 'echo $CMD > $PIPE'"
}
(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment