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
1 changed files with 3 additions and 3 deletions

View File

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