mirror of
https://github.com/sshuttle/sshuttle.git
synced 2025-04-11 12:58:18 +02:00
fix: workaround
This commit is contained in:
parent
450ad79b18
commit
d4001c11f9
@ -557,6 +557,11 @@ def main(listenip_v6, listenip_v4,
|
||||
subnets_include, subnets_exclude, daemon, to_nameserver, pidfile,
|
||||
user, sudo_pythonpath):
|
||||
|
||||
if not remotename:
|
||||
# XXX: We can't make it required at the argparse level,
|
||||
# because sshuttle calls out to itself in FirewallClient.
|
||||
raise Fatal("You must specify -r/--remote.")
|
||||
|
||||
if daemon:
|
||||
try:
|
||||
check_daemon(pidfile)
|
||||
|
Loading…
Reference in New Issue
Block a user