diff --git a/cm.sh b/cm.sh index af586035ad08c0ba4ce796f6ffaafb7e412578dd..074b6a7778b84b515e76b9035935f535489c2f7b 100755 --- a/cm.sh +++ b/cm.sh @@ -940,6 +940,14 @@ $line ENDOFHEADER +. ./inc_config.sh +if [ $? -ne 0 ]; then + _we "Loading the config failed." + echo "Copy the inc_config.sh.dist to inc_config.sh and make your settings in it." + echo + exit 1 +fi + while [[ "$#" -gt 0 ]]; do case $1 in -a|--alias) @@ -993,14 +1001,6 @@ while [[ "$#" -gt 0 ]]; do case $1 in ;; esac; done -. ./inc_config.sh -if [ $? -ne 0 ]; then - _we "Loading the config failed." - echo "Copy the inc_config.sh.dist to inc_config.sh and make your settings in it." - echo - exit 1 -fi - which openssl >/dev/null || exit 1 _testUser