Fixed error handling if user neglected to select their ardopc location.

This commit is contained in:
tb14
2019-08-20 13:04:41 -07:00
parent 20b4dbe6f3
commit e4aeb16598
+2 -2
View File
@@ -586,7 +586,7 @@ echo "Tri-Mode has been configured.
Procedure:
1. Launch FLRIG, configure transceiver for your setup
1. Launch FLRIG, configure transceiver for your setup.
2. Launch the ardop-status app.
3. Enable RIGTLD and PAVUCONTROL, select Toggle. They should now have PID's listed.
4. You can now enable ARDOPC and ARDOP_GUI.
@@ -697,7 +697,7 @@ ARDOPLOC=$(cat /tmp/trimode-selections | awk -F "," '{print $1}')
#This catches if the user failed to select the ardopc location and sends them back to try again
if [[ ! -f $ARDOPLOC ]]; then
echo "You must select your ardop file before continuing." | yad --center --text-info --wrap --title=TriMode --button="Start Over:1" ${c} ${r} ||
{ selection_dialogs; return; }
{ easy_button; return; }
fi
RIGCTLCMD="socat pty,link=/tmp/rigctl,waitslave,b38400 tcp:localhost:4532,retry &