Skip to content

Commit

Permalink
bugfix: profstats: fix restrict-namespaces max count (#6369)
Browse files Browse the repository at this point in the history
Signed-off-by: Ilya Pankratov <i.pankratov.main@gmail.com>
  • Loading branch information
i-pankrat committed Jun 5, 2024
1 parent 03ea436 commit 8982095
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/profstats/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,7 @@ int main(int argc, char **argv) {
if (cnt_seccomp > (seccomp + 1))
cnt_seccomp = seccomp + 1;
if (cnt_restrict_namespaces > (restrict_namespaces + 1))
cnt_seccomp = restrict_namespaces + 1;
cnt_restrict_namespaces = restrict_namespaces + 1;
if (cnt_dbus_user_none > (dbususernone + 1))
cnt_dbus_user_none = dbususernone + 1;
if (cnt_dbus_user_filter > (dbususerfilter + 1))
Expand Down

0 comments on commit 8982095

Please sign in to comment.