Add mimedef fallthrough
If no pipeline is given, fallthrough to the next pipeline.
This commit is contained in:
parent
f1bc8a9721
commit
d467e45de7
|
@ -160,6 +160,8 @@ main(int argc, char *argv[])
|
|||
strcmp(tmime->target, mimestr) != 0;
|
||||
tmime = tmime->next)
|
||||
/* do nothing */;
|
||||
while (tmime != NULL && tmime->recipe == NULL)
|
||||
tmime = tmime->next;
|
||||
(void)setenv("mime", mimestr, 1);
|
||||
fp = popen(tmime != NULL ? tmime->recipe : drecipe,
|
||||
"w");
|
||||
|
|
Loading…
Reference in New Issue