mirror of
https://github.com/smxi/inxi.git
synced 2025-09-02 10:39:17 +00:00
had to redirect error output to 1
This commit is contained in:
parent
9df881c11f
commit
d83f6471d7
1 changed files with 1 additions and 1 deletions
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…
Add table
Reference in a new issue