From 3a79cd54ead8128cac83b301594ba57081c7d449 Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Mon, 6 Apr 2020 13:02:44 +0300 Subject: [PATCH] Fix call to `gajim-remote`: hide excessive messages --- im-status.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" -- 2.39.2