When diff(1) finds differences, it returns an exit status of 1.
authorschwarze <schwarze@openbsd.org>
Tue, 21 Apr 2015 10:24:22 +0000 (10:24 +0000)
committerschwarze <schwarze@openbsd.org>
Tue, 21 Apr 2015 10:24:22 +0000 (10:24 +0000)
commitf3fe92c90f987a8ad7d71dfb52646b676ea4db88
tree8d48a9f04ee00509d67b6af30648f703cc4dabdd
parent7cb182b490e4a60801bea9ee88f1e6ed0c9d2b2f
When diff(1) finds differences, it returns an exit status of 1.
In that particular case, refrain from printing "diff: exit code 1"
because that exit status doesn't indicate an error condition.

Issue noticed by and patch OK'ed by ajacoutot@.
"I agree with the goal, and I suspect the diff actually achieves it" guenther@.
libexec/security/security