Replace the "kill_as_root" argument with a much simpler "sudo" argument and remove the now obsolete check for the output mode of "kill_as_root". "kill_as_root" would only get set to True if both conditions are met: a) command is running with sudo b) command is running with an output mode ("log" or "stdout") where pmb.helpers.run_core would kill it if it does not output anything before a timeout is reached The new "sudo" argument just indicates if the command is running with sudo (a), regardless of the output mode (b). |
||
---|---|---|
.. | ||
__init__.py | ||
apk.py | ||
apk_static.py | ||
binfmt.py | ||
distccd.py | ||
init.py | ||
initfs.py | ||
initfs_hooks.py | ||
mount.py | ||
other.py | ||
root.py | ||
shutdown.py | ||
user.py | ||
zap.py |