From 86455646e32055b7eba6bce42777e05f6b2cebfb Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Wed, 17 Aug 2011 10:09:57 +0200 Subject: s3:net: fix the exit code of net serverid list --- source3/utils/net_serverid.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/utils') diff --git a/source3/utils/net_serverid.c b/source3/utils/net_serverid.c index 9d9c8ebc4b..5d25f1ecf8 100644 --- a/source3/utils/net_serverid.c +++ b/source3/utils/net_serverid.c @@ -37,7 +37,7 @@ static int net_serverid_list(struct net_context *c, int argc, const char **argv) { d_printf("pid unique_id msg_flags\n"); - return serverid_traverse_read(net_serverid_list_fn, NULL) > 0 ? 0 : -1; + return serverid_traverse_read(net_serverid_list_fn, NULL) ? 0 : -1; } static int net_serverid_wipe_fn(struct db_record *rec, -- cgit