Page MenuHomeFreeBSD

periodic: fix exit status for nonexistent arguments
ClosedPublic

Authored by asomers on Nov 13 2017, 4:00 PM.
Tags
None
Referenced Files
F146949787: D13070.id35513.diff
Sat, Mar 7, 1:18 AM
F146908132: D13070.diff
Fri, Mar 6, 4:15 PM
F146906416: D13070.id35197.diff
Fri, Mar 6, 3:57 PM
F146891483: D13070.diff
Fri, Mar 6, 1:07 PM
Unknown Object (File)
Thu, Mar 5, 2:56 PM
Unknown Object (File)
Tue, Feb 24, 11:04 PM
Unknown Object (File)
Jan 22 2026, 2:25 AM
Unknown Object (File)
Nov 24 2025, 5:53 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