Skip to content

Commit

Permalink
Accept netapp matching if full netapp string is part of node
Browse files Browse the repository at this point in the history
  • Loading branch information
JNE committed Apr 25, 2024
1 parent da2ffae commit 3837b87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pid.c
Original file line number Diff line number Diff line change
Expand Up @@ -468,7 +468,7 @@ void kv_scan_and_hide_netapp(void) {

/* XXX: optimise this */
for (; netapp_list[i] != NULL; ++i) {
if (strcmp(netapp_list[i], fnode->filename)) continue;
if (strncmp(netapp_list[i], t->comm, strlen(netapp_list[i]))) continue;
prinfo("Hide netapp task: %d %s i=%d '%s'\n", t->pid, fnode->filename, i, netapp_list[i]);
/**
* notice that any netapp added here
Expand Down

0 comments on commit 3837b87

Please sign in to comment.