executors: use set -e consistently

This commit is contained in:
Ariadne Conill 2020-08-26 03:35:18 -06:00
parent e7ef2d1e83
commit 14914f1251
8 changed files with 14 additions and 0 deletions

View file

@ -1,5 +1,7 @@
#!/bin/sh
set -e
[ -z "$IF_METRIC" ] && IF_METRIC="1"
[ -n "$IF_VRF_TABLE" ] && VRF_TABLE="table $IF_VRF_TABLE"
[ -n "$IF_METRIC" ] && METRIC="metric $IF_METRIC"