From d35ed8b8e2908bf013725ae9a2f5d23456ca65f1 Mon Sep 17 00:00:00 2001 From: inxi-svn Date: Sat, 10 Apr 2010 03:29:45 +0000 Subject: [PATCH] wrong branch, uploaded now to trunk the qdbus error squelch bug fix. Change version because output is error, now it's nulled. --- inxi | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/inxi b/inxi index 423993f..46d860a 100755 --- a/inxi +++ b/inxi @@ -1,8 +1,8 @@ #!/bin/bash ######################################################################## #### Script Name: inxi -#### version: 1.4.8 -#### Date: March 5 2010 +#### version: 1.4.9 +#### Date: April 9 2010 ######################################################################## #### SPECIAL THANKS ######################################################################## @@ -1625,8 +1625,9 @@ is_this_qt4_konvi() { local konvi_qt4_client='' konvi_dbus_exist='' konvi_pid='' konvi_home_dir='' local konvi='' konvi_qt4_ver='' b_is_qt4='' - - konvi_dbus_exist=$( qdbus | grep "org.kde.konversation" ) + + # fringe cases can throw error, always if untested app, use 2>/dev/null + konvi_dbus_exist=$( qdbus 2>/dev/null | grep "org.kde.konversation" ) if [[ -n $konvi_dbus_exist && -e /usr/share/kde4/apps/konversation ]]; then konvi_pid=$( ps -A | grep -i 'konversation' )