Skip to content

Commit

Permalink
bugfix: profstats: fix restrict-namespaces max count
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 authored and Ilya Pankratov committed Jun 5, 2024
1 parent 53ad8d7 commit 817d42d
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 817d42d

Please sign in to comment.