add debug info

This commit is contained in:
rootzoll
2018-12-06 18:42:49 +01:00
parent ac0936bfd8
commit 7cc50e724e
2 changed files with 7 additions and 1 deletions

View File

@@ -14,6 +14,12 @@ echo "network(${network})"
echo "chain(${chain})"
echo "setupStep(${setupStep})"
if [ ${#network} -eq 0 ]; then
echo "FAIL: Something is wrong. There is no value for network in ${infoFile}."
echo "Should be at least default value. EXIT"
exit 1
fi
# if no setup step in info file init with 0
if [ ${#setupStep} -eq 0 ];then
echo "Init setupStep=0"