https://github.com/NullVoxPopuli/kdiff3/pull/1
$ ./kdiff3 base a b -auto -m -o result --fail There are conflicts that cannot be automatically resolved. $ echo $? 1