From 2530b779fc5afff5efb4c703610f66c77329b679 Mon Sep 17 00:00:00 2001 From: root Date: Thu, 21 Jul 2022 19:05:58 -0400 Subject: [PATCH] Bypass dysfunctional error-checking if mate-terminal detected --- roles/network/templates/netwarn/netwarn | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/network/templates/netwarn/netwarn b/roles/network/templates/netwarn/netwarn index 59a0cc20a..146c41725 100755 --- a/roles/network/templates/netwarn/netwarn +++ b/roles/network/templates/netwarn/netwarn @@ -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