https://bugs.openldap.org/show_bug.cgi?id=9209
--- Comment #16 from Howard Chu hyc@openldap.org --- (In reply to Ryan Tandy from comment #15)
(In reply to Ryan Tandy from comment #14)
It's actually a csh script... you can see the whole thing at https://unix.stackexchange.com/a/408550
Ignore this -- the one pasted there has a "set exit_status = 1" which is _not_ in the original... I guess that poster fixed theirs locally :)
I already tested this fix on a vanilla Solaris 10 system, and the exit status was as expected.