diff options
Diffstat (limited to 'source3/utils/net.c')
-rw-r--r-- | source3/utils/net.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source3/utils/net.c b/source3/utils/net.c index 9e4c5e52c9..6e5202a400 100644 --- a/source3/utils/net.c +++ b/source3/utils/net.c @@ -323,8 +323,7 @@ static int net_share(int argc, const char **argv) static int net_file(int argc, const char **argv) { - /* only file list is implemented in RPC */ - if (argc == 0 && net_rpc_check(0)) + if (net_rpc_check(0)) return net_rpc_file(argc, argv); return net_rap_file(argc, argv); } |