Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
call() {
trap '{ ecflow_client --abort $$; exit 1; }' 0 $SIGNAL_LIST
 set -ex
}

  

In a similar way, in 'if' or 'while' expression, [[ ...]] or ((...)) shall be prefered to [...] to get the trapping propagated as expected.