mirror of
https://github.com/smxi/inxi.git
synced 2024-11-17 00:31:19 +00:00
had to redirect error output to 1
This commit is contained in:
parent
9df881c11f
commit
d83f6471d7
2
inxi
2
inxi
|
@ -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 )"
|
||||||
|
|
Loading…
Reference in a new issue