summaryrefslogtreecommitdiff
path: root/source3/utils
diff options
context:
space:
mode:
Diffstat (limited to 'source3/utils')
-rw-r--r--source3/utils/net_rpc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/utils/net_rpc.c b/source3/utils/net_rpc.c
index a35cdd0b5b..fcd8a54118 100644
--- a/source3/utils/net_rpc.c
+++ b/source3/utils/net_rpc.c
@@ -317,6 +317,8 @@ int net_rpc_join(int argc, const char **argv)
};
if (argc == 0) {
+ if (opt_user_specified)
+ return net_rpc_join_newstyle(argc, argv);
if ((net_rpc_join_oldstyle(argc, argv) == 0))
return 0;