Re: redirecting output in cron job not working

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

 



On Tue, 2008-05-06 at 16:01 +0000, g wrote:
> g wrote:
> > ok. better yet, it came back to me, exit status is '#?'.
> 
> and just in case, should you be thinking about asking, ;o)
> 
>  if [ ! "$?" = "0" ]

It's often easier to write:

        some_command || error_path
        
poc

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux