diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2005-04-29 10:39:18 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2005-04-29 10:39:18 +0000 |
commit | 928aeaed3b10c2e3b65b9d0556987534d9a8c273 (patch) | |
tree | 00c3e2723c4b53331c8cb1bf206ac6d45781f75f | |
parent | 1ca7aae94b68178f337eb9acb1ce0a7d0fcc1826 (diff) | |
download | monitor-edid-928aeaed3b10c2e3b65b9d0556987534d9a8c273.tar monitor-edid-928aeaed3b10c2e3b65b9d0556987534d9a8c273.tar.gz monitor-edid-928aeaed3b10c2e3b65b9d0556987534d9a8c273.tar.bz2 monitor-edid-928aeaed3b10c2e3b65b9d0556987534d9a8c273.tar.xz monitor-edid-928aeaed3b10c2e3b65b9d0556987534d9a8c273.zip |
write the progression log on stderr instead of stdout
(that way it will get *less* in the way when using the output)
-rwxr-xr-x | monitor-probe | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/monitor-probe b/monitor-probe index 74af0be..dfde554 100755 --- a/monitor-probe +++ b/monitor-probe @@ -23,12 +23,12 @@ if [ $EUID != 0 ]; then exit 1 fi -[ -n "$opt_v" ] && echo "probing EDID" +[ -n "$opt_v" ] && echo "probing EDID" 1>&2 monitor-edid $opt_v && exit 0 -[ -n "$opt_v" ] && echo "probing using X" +[ -n "$opt_v" ] && echo "probing using X" 1>&2 monitor-probe-using-X $X_driver && exit 0 -[ -n "$opt_v" ] && echo "probing DMI" +[ -n "$opt_v" ] && echo "probing DMI" 1>&2 lspcidrake | sed -n 's/^\(Resolution\|Diagonal_size\):\([^:]*\):.*/\1: \2/p' |