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
Branches
No related tags found
1 merge request!27source config file before showing help
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment