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

Re: Fwd: rc.local and systemd



Rainer Dorsch wrote:
> Nevertheless I am still wondering why it has the failed status,
> rc.local has an hard "exit 0" return code (?) :

Look at the first line of /etc/rc.local script.

> rd@nanette:/etc$ cat rc.local
> #!/bin/sh -e
The set -e  ^^ here is what sets the -e flag for the shell.

Bob

Attachment: signature.asc
Description: Digital signature


Reply to: