Ensure verbose is never None.

None >= 1 not valid under Python3.

Fixes #31.
This commit is contained in:
Brian May 2015-11-28 16:03:01 +11:00
parent c06c972039
commit 6dfbc467c0

View File

@ -145,7 +145,7 @@ if opt.daemon:
if opt.wrap:
import sshuttle.ssnet as ssnet
ssnet.MAX_CHANNEL = int(opt.wrap)
helpers.verbose = opt.verbose
helpers.verbose = opt.verbose or 0
try:
if opt.firewall: