Re: Debugging %pre section ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 13 Jan 2004, Marc De Preter wrote:

>How does one debug scripts running in the %pre section ? Is there a way
>to create log files, or some other kind of traces ?

What scripting language? With [ba]sh, just add a "set -x" near the top.
Use exec-style redirection to capture stdout and/or stderr to a file.


Cheers,
Phil




[Index of Archives]     [Red Hat General]     [CentOS Users]     [Fedora Users]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux