diff options
author | 2024-06-05 20:16:17 +0300 | |
---|---|---|
committer | 2024-06-05 17:16:17 +0000 | |
commit | 89820958eb847dd6c1a54a512b59aadda8955646 (patch) | |
tree | e064433891a624b56189dc3235bb0e32e5858c26 /src | |
parent | bugfix: fix various resource leaks (#6367) (diff) | |
download | firejail-89820958eb847dd6c1a54a512b59aadda8955646.tar.gz firejail-89820958eb847dd6c1a54a512b59aadda8955646.tar.zst firejail-89820958eb847dd6c1a54a512b59aadda8955646.zip |
bugfix: profstats: fix restrict-namespaces max count (#6369)
Signed-off-by: Ilya Pankratov <i.pankratov.main@gmail.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/profstats/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/profstats/main.c b/src/profstats/main.c index ad27bfe79..10eee3c4b 100644 --- a/src/profstats/main.c +++ b/src/profstats/main.c | |||
@@ -344,7 +344,7 @@ int main(int argc, char **argv) { | |||
344 | if (cnt_seccomp > (seccomp + 1)) | 344 | if (cnt_seccomp > (seccomp + 1)) |
345 | cnt_seccomp = seccomp + 1; | 345 | cnt_seccomp = seccomp + 1; |
346 | if (cnt_restrict_namespaces > (restrict_namespaces + 1)) | 346 | if (cnt_restrict_namespaces > (restrict_namespaces + 1)) |
347 | cnt_seccomp = restrict_namespaces + 1; | 347 | cnt_restrict_namespaces = restrict_namespaces + 1; |
348 | if (cnt_dbus_user_none > (dbususernone + 1)) | 348 | if (cnt_dbus_user_none > (dbususernone + 1)) |
349 | cnt_dbus_user_none = dbususernone + 1; | 349 | cnt_dbus_user_none = dbususernone + 1; |
350 | if (cnt_dbus_user_filter > (dbususerfilter + 1)) | 350 | if (cnt_dbus_user_filter > (dbususerfilter + 1)) |