Add comment

This commit is contained in:
jraylan
2025-01-25 08:03:57 -03:00
committed by GitHub
parent 5c6ec7ff86
commit 389a12aeb5

View File

@@ -38,6 +38,8 @@ def main():
helpers.verbose = opt.verbose
try:
# Since namespace and namespace-pid options are only available
# in linux, we must check if it exists with getattr
namespace = getattr(opt, 'namespace', None)
namespace_pid = getattr(opt, 'namespace_pid', None)
if namespace or namespace_pid: