1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-03-09 15:40:17 +00:00

Bypass dysfunctional error-checking if mate-terminal detected

This commit is contained in:
root 2022-07-21 19:05:58 -04:00
parent 44af07638b
commit 2530b779fc

View file

@ -21,7 +21,7 @@ fi
x-terminal-emulator -e /usr/local/bin/iiab-network
rc=$?
if [ "$rc" != "0" ]; then
if [ "$rc" != "0" ] && [ ! -f /usr/bin/mate-terminal ]; then
zenity --warning --width=360 --text="iiab-network exited with error: $rc\n\nPlease review /opt/iiab/iiab/iiab-network.log"
exit $rc
fi