[lokisetup] stderr redirecting considered harmful.

Stephane Peter megastep at megastep.org
Thu Sep 19 19:05:23 EDT 2002

On Thu, 2002-09-19 at 15:11, Ryan C. Gordon wrote:
> This line in image/setup.sh:
>         "$setup" "$@" 2>/dev/null
> Breaks pagers in the console UI (tried both "more" and "less"). I don't
> really understand why, honestly, but it does.
> Is it safe to remove the stderr redirect?

You can try, it won't break anything. The only reason we had it was to
get rid of some spurious warnings from GTK when running the installer,
depending on what version of the libraries are installed on the system
that runs the installer.

> (by, console_ui.c in CVS now respects the $PAGER envr. variable, and
> defaults to "more" if it isn't set).

Cool :)

Stephane Peter
Sr. Software Engineer
Codehost, Inc.

More information about the Lokisetup mailing list