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