HomeFreeBSD

MFC r326041:

Description

MFC r326041:

periodic: fix exit status for nonexistent arguments

When called with an absolute pathname, periodic should attempt to execute
every script in that directory. If the directory does not exist, it should
print an error and exit 1. Due to a copy/paste mistake in r231568, it exits
0 in that case.

Reported by: devel/hs-ShellCheck
Sponsored by: Spectra Logic Corp
Differential Revision: https://reviews.freebsd.org/D13070

Details

Provenance
asomersAuthored on
Differential Revision
D13070: periodic: fix exit status for nonexistent arguments
Parents
rS326780: MFC r326039:
Branches
Unknown
Tags
Unknown