Fix -c starting step 1 with -qq if no configuration is available

This commit is contained in:
2021-04-07 10:02:19 +02:00
parent 2b7bd987cb
commit 75663b3108

View File

@@ -9,7 +9,7 @@
VERSION_REV=13
VERSION_MAJOR=0
VERSION_MINOR=0
VERSION_MINOR=1
## Start of generic script part
@@ -254,7 +254,7 @@ fi
echoseq() { [ $QUIET -ne 2 ] && echo "$@"; }
# Echo to stderr
echoerr() { >&2 echo "$@"; }
echoerr() { outColor red; >&2 echo "$@"; outColor none; }
# outColor <FOREGROUND COLOR> [BACKGROUND COLOR]
outColor() {
@@ -1140,6 +1140,9 @@ main() {
else
return 1
fi
elif [ $SEQ_CONFIG_EDIT -ne 0 ] ; then
echoerr " [E] Sequence does not have a configuration file"
return 1
fi
# check if more than one step is given and select execution mode