diff options
Diffstat (limited to 'Compose')
-rwxr-xr-x | Compose/compose_gui.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Compose/compose_gui.sh b/Compose/compose_gui.sh index 14f773c..6f544ec 100755 --- a/Compose/compose_gui.sh +++ b/Compose/compose_gui.sh @@ -24,7 +24,7 @@ then YESNO() { kdialog --title Compose-Module --yesno "$1" } -elif [ -n "`which zenity 2>/dev/null`" ]; then +elif [ -n "`which zenity 2>/dev/null`" ] && [ ${DISPLAY} ]; then ADD_TO_LIST() { list=("${list[@]}" "$1" "$2") } |