mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-09-20 13:02:21 +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')
|
||||
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
|
||||
|
||||
|
Reference in New Issue
Block a user