]> git.phdru.name Git - IM.git/commitdiff
Fix call to `gajim-remote`: hide excessive messages
authorOleg Broytman <phd@phdru.name>
Mon, 6 Apr 2020 10:02:44 +0000 (13:02 +0300)
committerOleg Broytman <phd@phdru.name>
Mon, 6 Apr 2020 10:02:44 +0000 (13:02 +0300)
im-status.sh

index f2febc36854c4e778a92b2006cbe8a687a1cf8d5..8d5685bb2f430948cee6165967570209a8a92361 100755 (executable)
@@ -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"