From 9e2d4b61de43e058a476006a748c85192171b309 Mon Sep 17 00:00:00 2001 From: Amitay Isaacs Date: Tue, 6 Dec 2011 18:11:11 +1100 Subject: s3-net: Fix the return codes. 0 on success, -1 on failure Autobuild-User: Amitay Isaacs Autobuild-Date: Mon Dec 19 01:57:24 CET 2011 on sn-devel-104 --- source3/utils/net_rpc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source3/utils/net_rpc.c b/source3/utils/net_rpc.c index 9c2db0a662..ef017ec9dc 100644 --- a/source3/utils/net_rpc.c +++ b/source3/utils/net_rpc.c @@ -5062,7 +5062,7 @@ int net_usersidlist(struct net_context *c, int argc, const char **argv) if (!get_user_tokens(c, &num_tokens, &tokens)) { DEBUG(0, ("Could not get the user/sid list\n")); - return 0; + return -1; } for (i=0; i