summaryrefslogtreecommitdiff
path: root/source3/utils
diff options
context:
space:
mode:
Diffstat (limited to 'source3/utils')
-rw-r--r--source3/utils/net_serverid.c2
1 files changed, 1 insertions, 1 deletions
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,