summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/luatexdir/luasocket/etc/forward.lua
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/texk/web2c/luatexdir/luasocket/etc/forward.lua')
-rw-r--r--Build/source/texk/web2c/luatexdir/luasocket/etc/forward.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/Build/source/texk/web2c/luatexdir/luasocket/etc/forward.lua b/Build/source/texk/web2c/luatexdir/luasocket/etc/forward.lua
index 9073ac4d0fa..05ced1aede8 100644
--- a/Build/source/texk/web2c/luatexdir/luasocket/etc/forward.lua
+++ b/Build/source/texk/web2c/luatexdir/luasocket/etc/forward.lua
@@ -3,7 +3,7 @@ local dispatch = require("dispatch")
local handler = dispatch.newhandler()
-- make sure the user knows how to invoke us
-if table.getn(arg) < 1 then
+if #arg < 1 then
print("Usage")
print(" lua forward.lua <iport:ohost:oport> ...")
os.exit(1)