had to redirect error output to 1

This commit is contained in:
inxi-svn 2011-05-27 20:55:15 +00:00
parent 9df881c11f
commit d83f6471d7

2
inxi
View file

@ -2867,7 +2867,7 @@ get_de_version()
# note, some wm send version info to stderr instead of stdout # note, some wm send version info to stderr instead of stdout
case $1 in case $1 in
dwm|scrotwm) dwm|scrotwm)
version_data="$( $1 $get_version )" version_data="$( $1 $get_version 2>&1 )"
;; ;;
*) *)
version_data="$( $1 $get_version 2>/dev/null )" version_data="$( $1 $get_version 2>/dev/null )"