X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=filter.c;h=ef052b5cbc20679c934022bb3ba0aa139fc611ad;hp=952618fe31787ba96e7209d81755f0ffba58af18;hb=90c36546d834608e1ce96f4142ef9a1f6b405a7c;hpb=c3e57678c8be193fc137854020f3a90887be97c9 diff --git a/filter.c b/filter.c index 952618f..ef052b5 100644 --- a/filter.c +++ b/filter.c @@ -11,12 +11,14 @@ # include "config.h" #endif -#include "mutt.h" - #include #include #include +#include + +#include "mutt.h" + /* Invokes a commmand on a pipe and optionally connects its stdin and stdout * to the specified handles. */ @@ -93,7 +95,7 @@ mutt_create_filter_fd (const char *cmd, FILE ** in, FILE ** out, FILE ** err, close (fderr); } - execl (EXECSHELL, "sh", "-c", cmd, NULL); + execl ("/bin/sh", "sh", "-c", cmd, NULL); _exit (127); } else if (thepid == -1) {