mirror of
https://codeberg.org/prof_x_pvt_ltd/captive.whump.shanti-portal
synced 2024-08-14 22:46:42 +00:00
fixing use_sudo argument
This commit is contained in:
parent
c56ecc0d01
commit
e6ad0f676f
2 changed files with 8 additions and 7 deletions
|
@ -3,7 +3,7 @@ import subprocess
|
|||
import shlex
|
||||
|
||||
def run_ipset(command, *args, **kw):
|
||||
use_sudo = kw.get('use_sudo', True)
|
||||
use_sudo = kw.get('use_sudo', False)
|
||||
timeout = kw.get('timeout', 2)
|
||||
|
||||
if use_sudo:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue