cluster_fatal() exit code should not indicate success.
commit33d13f0bb99fd4155994cdf280a7239bc121ea1e
authorMartin Schwenke <martin@meltin.net>
Thu, 22 Oct 2009 11:03:20 +0000 (22 13:03 +0200)
committerVolker Lendecke <vl@samba.org>
Tue, 2 Nov 2010 17:04:00 +0000 (2 18:04 +0100)
tree7d2bbd79f4948623277528d0f8b84f9a3ff20960
parent7182f0885e17d5ffe2af491a06a6df1769350e17
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