Skip to content
Snippets Groups Projects

source config file before showing help

Merged Hahn Axel (hahn) requested to merge add-http-challenge into master
1 file
+ 8
8
Compare changes
  • Side-by-side
  • Inline
+ 8
8
@@ -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
Loading