info on non valid amount

This commit is contained in:
rootzoll
2020-02-17 14:40:31 +01:00
parent 230cfa4a40
commit 29351db9f9

View File

@@ -92,7 +92,9 @@ dialog --title "Funding of Channel" \
amount=$(cat $_temp | xargs | tr -dc '0-9')
shred $_temp
if [ ${#amount} -eq 0 ]; then
echo "FAIL - not a valid input (${amount})"
echo
echo "no valid amount entered - returning to menu ..."
sleep 2
exit 1
fi