summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 5d25f1ecf8..308a7858a9 100644
--- a/source3/utils/net_serverid.c
+++ b/source3/utils/net_serverid.c
@@ -62,7 +62,7 @@ static int net_serverid_wipe_fn(struct db_record *rec,
static int net_serverid_wipe(struct net_context *c, int argc,
const char **argv)
{
- return serverid_traverse(net_serverid_wipe_fn, NULL) > 0 ? 0 : -1;
+ return serverid_traverse(net_serverid_wipe_fn, NULL) ? 0 : -1;
}
static int net_serverid_wipedbs_conn(