diff --git a/src/detection/editor/editor.c b/src/detection/editor/editor.c index 6b42fbd08..af41c513c 100644 --- a/src/detection/editor/editor.c +++ b/src/detection/editor/editor.c @@ -37,7 +37,7 @@ const char* ffDetectEditor(FFEditorResult* result) if (result->name.chars[0] != '/') { if (ffProcessAppendStdOut(&result->path, (char* const[]){ - "/usr/bin/which", + FASTFETCH_TARGET_DIR_USR "/bin/which", result->name.chars, NULL, }) != NULL || result->path.length == 0)