mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-09-26 19:47:05 +02:00
info on non valid amount
This commit is contained in:
@@ -92,7 +92,9 @@ dialog --title "Funding of Channel" \
|
|||||||
amount=$(cat $_temp | xargs | tr -dc '0-9')
|
amount=$(cat $_temp | xargs | tr -dc '0-9')
|
||||||
shred $_temp
|
shred $_temp
|
||||||
if [ ${#amount} -eq 0 ]; then
|
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
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user