Browse Source

cancel checklist

#146
rootzoll 6 years ago
parent
commit
3e6cc51b8e
  1. 3
      home.admin/00settingsMenuServices.sh

3
home.admin/00settingsMenuServices.sh

@ -13,10 +13,11 @@ CHOICES=$(dialog --checklist "Activate/Deactivate Services:" 15 40 5 \
#3 "RTL Webinterface" ${rtlWebinterface} \
#4 "Electrum Server" ${electrumServer} \
#2>&1 >/dev/tty)
dialogcancel=$?
clear
# check if user canceled dialog
if [ ${#CHOICES} -eq 0 ]; then
if [ ${dialogcancel} -eq 1 ]; then
echo "user canceled"
exit 1
fi

Loading…
Cancel
Save