wmstartup: Use set -e in service subshells
God I love subshells
This commit is contained in:
parent
e344caec74
commit
fe5236d906
@ -87,6 +87,7 @@ fi
|
|||||||
for service in $DTF_SERVICES; do
|
for service in $DTF_SERVICES; do
|
||||||
service_full="$DTF_SERVICES_DIR/$service"
|
service_full="$DTF_SERVICES_DIR/$service"
|
||||||
(
|
(
|
||||||
|
set -e
|
||||||
if ! [ -r "$service_full" ]; then
|
if ! [ -r "$service_full" ]; then
|
||||||
dtf_log "Service is unreadable or missing: $service"
|
dtf_log "Service is unreadable or missing: $service"
|
||||||
exit 1
|
exit 1
|
||||||
|
Loading…
Reference in New Issue
Block a user