Olivier Regnier wrote:
> Hi everyone  :-)
> Just curiosly, in /etc/periodic/daily, there are many shell scripts but
> there is an variable rc by example :
> - rc=0
> - rc=1
> - rc=2
> - rc=3
> What exactly does the "rc=0, rc=1 ..." flag mean ?

They're the exit values of those scripts, so I guess rc means Return Code.
Read man periodic(8), especially the part beginning with "Each script is
required to exit with one of the following values:"

> Thank you :)

Pietro Cerutti

PGP Public Key:

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to