Skip to content
Snippets Groups Projects
Commit cb1127c6 authored by Hahn Axel (hahn)'s avatar Hahn Axel (hahn)
Browse files

source config file before showing help

parent 2a71cfe2
No related branches found
No related tags found
1 merge request!27source config file before showing help
This commit is part of merge request !27. Comments created here will be created in the context of that merge request.
...@@ -940,6 +940,14 @@ $line ...@@ -940,6 +940,14 @@ $line
ENDOFHEADER 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 while [[ "$#" -gt 0 ]]; do case $1 in
-a|--alias) -a|--alias)
...@@ -993,14 +1001,6 @@ while [[ "$#" -gt 0 ]]; do case $1 in ...@@ -993,14 +1001,6 @@ while [[ "$#" -gt 0 ]]; do case $1 in
;; ;;
esac; done 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 which openssl >/dev/null || exit 1
_testUser _testUser
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment