wmstartup: Use set -e in service subshells

God I love subshells
This commit is contained in:
Salt 2018-08-27 13:10:03 -05:00
parent e344caec74
commit fe5236d906

View File

@ -87,6 +87,7 @@ fi
for service in $DTF_SERVICES; do
service_full="$DTF_SERVICES_DIR/$service"
(
set -e
if ! [ -r "$service_full" ]; then
dtf_log "Service is unreadable or missing: $service"
exit 1