aboutsummaryrefslogtreecommitdiff
path: root/src/mime.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mime.c')
-rw-r--r--src/mime.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mime.c b/src/mime.c
index b71485d..c4d8c42 100644
--- a/src/mime.c
+++ b/src/mime.c
@@ -20,7 +20,7 @@ Process *file_command(const char *_filename) {
const char *fmt_cmd = "file -E -i \"%s\" 2>&1";
#endif
- strchrdel(filename, "&;|");
+ strchrdel(filename, SHELL_INVALID);
sprintf(sh_cmd, fmt_cmd, filename);
shell(&proc_info, SHELL_OUTPUT, sh_cmd);