Skip to content

Commit

Permalink
stest: fix execution of file command
Browse files Browse the repository at this point in the history
  • Loading branch information
XPhyro committed Sep 8, 2024
1 parent 8c60626 commit f2fb114
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/c/util/core/stest.c
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ const char *getmime(const char *path)
dup2(pipefd[1], STDOUT_FILENO);
close(pipefd[0]);
close(pipefd[1]);
execlp("file", "-00", "-b", "--mime-type", "--", path, NULL);
execlp("file", "file", "-00", "-b", "--mime-type", "--", path, NULL);
exit(EXIT_SUCCESS);
}

Expand Down

0 comments on commit f2fb114

Please sign in to comment.