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:
parent
44af07638b
commit
2530b779fc
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue