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

Re: [PATCH] Log all calls to mount to /tmp/program.log as well.





clumens redhat com wrote:
Also this seems inconsistent with the python versions as you do not write what you are executing to the logfile first, which you do do in the python case.
Oh yes, that's easy enough to fix.

Actually there's nothing to fix.  I should have spent two more seconds
looking at the original code before commenting.  You'll see that I print
the command being run to stdout, but just above that point, stdout has
been redirected to /tmp/program.log.  So it's getting written there,
just a little more roundabout.


Ok,

Regards,

Hans


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