mirror of
https://github.com/sshuttle/sshuttle.git
synced 2025-04-28 13:19:29 +02:00
Ensure verbose is never None.
None >= 1 not valid under Python3. Fixes #31.
This commit is contained in:
parent
c06c972039
commit
6dfbc467c0
@ -145,7 +145,7 @@ if opt.daemon:
|
|||||||
if opt.wrap:
|
if opt.wrap:
|
||||||
import sshuttle.ssnet as ssnet
|
import sshuttle.ssnet as ssnet
|
||||||
ssnet.MAX_CHANNEL = int(opt.wrap)
|
ssnet.MAX_CHANNEL = int(opt.wrap)
|
||||||
helpers.verbose = opt.verbose
|
helpers.verbose = opt.verbose or 0
|
||||||
|
|
||||||
try:
|
try:
|
||||||
if opt.firewall:
|
if opt.firewall:
|
||||||
|
Loading…
Reference in New Issue
Block a user