The error log files are printed to stdout instead of stderr. This makes it

easier to use a pager with mc-test.
This commit is contained in:
Roland Illig 2005-06-07 14:54:11 +00:00
parent 6edc2743db
commit 3ce4818b9b

View File

@ -170,9 +170,9 @@ fi
show_file() { show_file() {
if test -f "$1"; then if test -f "$1"; then
echo "" 1>&2 echo ""
sed -e "${mc_maxlines}s,.*,(more lines follow ...)," -e "${mc_maxlines}q" "$1" 1>&2 sed -e "${mc_maxlines}s,.*,(more lines follow ...)," -e "${mc_maxlines}q" "$1"
echo "" 1>&2 echo ""
fi fi
return 0 return 0
} }