Index: scripts/rpcinfo.nse =================================================================== --- scripts/rpcinfo.nse (revision 17271) +++ scripts/rpcinfo.nse (working copy) @@ -31,7 +31,7 @@ local status, rpcinfo = rpc.Helper.RpcInfo( host, port ) if ( not(status) ) then - return + return stdnse.format_output(false, rpcinfo) end for progid, v in pairs(rpcinfo) do