diff options
author | Michael Adam <obnox@samba.org> | 2011-08-17 10:10:45 +0200 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2011-10-11 14:17:56 +0200 |
commit | 5bfdd73a642616dbeeda30d812f85a0f91f25139 (patch) | |
tree | 7d3db899d2b11faded0779f949d191236f1772da /source3 | |
parent | 86455646e32055b7eba6bce42777e05f6b2cebfb (diff) | |
download | samba-5bfdd73a642616dbeeda30d812f85a0f91f25139.tar.gz samba-5bfdd73a642616dbeeda30d812f85a0f91f25139.tar.bz2 samba-5bfdd73a642616dbeeda30d812f85a0f91f25139.zip |
s3:net: fix the exit code of net serverid wipe
Diffstat (limited to 'source3')
-rw-r--r-- | source3/utils/net_serverid.c | 2 |
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( |