summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source4/utils/net/net.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/utils/net/net.c b/source4/utils/net/net.c
index 46cc07d702..95b70ef01d 100644
--- a/source4/utils/net/net.c
+++ b/source4/utils/net/net.c
@@ -274,7 +274,7 @@ static int net_usage(struct net_context *ctx, int argc, const char **argv)
d_printf("Usage:\n");
d_printf("net <command> [options]\n");
net_help(ctx, net_functable);
- return 0;
+ return -1;
}
/****************************************************************************