diff options
Diffstat (limited to 'etc/forward.lua')
| -rw-r--r-- | etc/forward.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/forward.lua b/etc/forward.lua index 9073ac4..05ced1a 100644 --- a/etc/forward.lua +++ b/etc/forward.lua | |||
| @@ -3,7 +3,7 @@ local dispatch = require("dispatch") | |||
| 3 | local handler = dispatch.newhandler() | 3 | local handler = dispatch.newhandler() |
| 4 | 4 | ||
| 5 | -- make sure the user knows how to invoke us | 5 | -- make sure the user knows how to invoke us |
| 6 | if table.getn(arg) < 1 then | 6 | if #arg < 1 then |
| 7 | print("Usage") | 7 | print("Usage") |
| 8 | print(" lua forward.lua <iport:ohost:oport> ...") | 8 | print(" lua forward.lua <iport:ohost:oport> ...") |
| 9 | os.exit(1) | 9 | os.exit(1) |
