diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/lib/core/utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/core/utils.c b/src/lib/core/utils.c index 152c5c5..4313f2d 100644 --- a/src/lib/core/utils.c +++ b/src/lib/core/utils.c @@ -920,7 +920,7 @@ int env_manipulate_pathstr(const char *key, char *path, int mode) { } if (mode & PM_ONCE) { - if (!strstr(system_path_old, path)) { + if (strstr(system_path_old, path)) { guard_free(system_path_new); return 0; } |
