Re: bash: capturing the stdout/stderr of a cmd to system log?

From: DENNIS BYRNE <asdcb1@uaa.alaska.edu>
Date: Tue Jun 29 2004 - 16:15:15 AKDT

> but that just logs the error, not the success. I suspect the
> 'success'is actually trying to return a 'null' string to indicate
> success, maybe?

try the following if you are interested in the return value of the last
command. Don't quote me but I'm pretty sure all POSIX compliant apps
must have a return value.
# echo $?
 
> What am I doing wrong here?
>
> Thanks folks!
>
> Lee
> ---------
> To unsubscribe, send email to <aklug-request@aklug.org>
> with 'unsubscribe' in the message body.
>
>
>

---------
To unsubscribe, send email to <aklug-request@aklug.org>
with 'unsubscribe' in the message body.
Received on Tue Jun 29 16:14:54 2004

This archive was generated by hypermail 2.1.8 : Tue Jun 29 2004 - 16:14:56 AKDT