cluster_fatal() exit code should not indicate success.
authorMartin Schwenke <martin@meltin.net>
Thu, 22 Oct 2009 11:03:20 +0000 (13:03 +0200)
committerVolker Lendecke <vl@samba.org>
Tue, 2 Nov 2010 14:59:05 +0000 (15:59 +0100)
commit27056d37e0a7a7f46a4765b7ea45193050caa277
treee7fd7aff5e435893f6e44d6b65124a29dc46ca87
parent4622f2e926acf0bc50237f396b3f629ccd5326ec
cluster_fatal() exit code should not indicate success.

cluster_fatal() logs a fatal event and then exits with 0.  This seems
wrong.  Sometimes command like "net" use this code and return
incorrect empty output but then exit with 0.

This simply changes the exit code to 1.

Signed-off-by: Martin Schwenke <martin@meltin.net>
source3/lib/ctdbd_conn.c