From: Oleg Broytman Date: Mon, 6 Apr 2020 10:02:44 +0000 (+0300) Subject: Fix call to `gajim-remote`: hide excessive messages X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=3a79cd54ead8128cac83b301594ba57081c7d449;p=IM.git Fix call to `gajim-remote`: hide excessive messages --- diff --git a/im-status.sh b/im-status.sh index f2febc3..8d5685b 100755 --- a/im-status.sh +++ b/im-status.sh @@ -34,7 +34,7 @@ case "$LC_CTYPE" in esac xtitle "$1" "$2" "$title" && -if [ "`gajim-remote check_gajim_running 2>/dev/null`" = True ]; then +if [ "`gajim-remote check_gajim_running 2>/dev/null | tail -1`" = True ]; then gajim-remote change_status "$2" "$title" else purple-remote "setstatus?status=$status&message=$status_msg"