Skip to content

Commit

Permalink
Merge pull request progrium#21 from PirosB3/master
Browse files Browse the repository at this point in the history
Solved issue progrium#12 on port validation
  • Loading branch information
progrium committed Jun 29, 2011
2 parents d5eca8b + 0703732 commit 7605e18
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/localtunnel
Expand Up @@ -37,7 +37,7 @@ end

args = options.parse!
local_port = args[0]
unless local_port
unless local_port.to_i.between?(1, 65535)
puts options
exit
end
Expand Down

0 comments on commit 7605e18

Please sign in to comment.