forget grep filter

This commit is contained in:
inxi-svn 2011-05-22 01:00:50 +00:00
parent 4c09c0c34a
commit 1ba56fa1bf

2
inxi
View file

@ -1998,7 +1998,7 @@ get_start_client()
B_CONSOLE_IRC='true'
if [[ -z $IRC_CLIENT_VERSION ]];then
# this is a hack to try to show konversation if it is running but started via /cmd
if [[ -n $( ps aux | grep -i 'konversation' ) && $B_RUNNING_IN_X == 'true' ]];then
if [[ -n $( ps aux | grep -i 'konversation' | grep -iv 'konversation' ) && $B_RUNNING_IN_X == 'true' ]];then
IRC_CLIENT='Konversation'
IRC_CLIENT_VERSION=" $( konversation --version 2>/dev/null | gawk '/^Konversation/ {print $2}' )"
B_CONSOLE_IRC='false'