Page MenuHomeFreeBSD

periodic: fix exit status for nonexistent arguments
ClosedPublic

Authored by asomers on Nov 13 2017, 4:00 PM.
Tags
None
Referenced Files
F166971887: D13070.id.diff
Tue, Aug 18, 7:02 AM
Unknown Object (File)
Thu, Aug 13, 9:59 AM
Unknown Object (File)
Wed, Aug 12, 12:00 PM
Unknown Object (File)
Sun, Aug 9, 10:40 PM
Unknown Object (File)
Sun, Aug 9, 3:48 PM
Unknown Object (File)
Sun, Aug 9, 3:46 PM
Unknown Object (File)
Fri, Aug 7, 7:53 PM
Unknown Object (File)
Wed, Aug 5, 3:26 AM
Subscribers

Details

Summary

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

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable