X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/7b4935d717c4ec694b47ead4a9cd691d97932cc2..af9b66336bdbd198f3b1e7bca82e3d1278f27664:/sbr/ext_hook.c diff --git a/sbr/ext_hook.c b/sbr/ext_hook.c index f1a9a14a..df1e7dc4 100644 --- a/sbr/ext_hook.c +++ b/sbr/ext_hook.c @@ -1,6 +1,4 @@ -/* - * - * Run a program that hooks into some other system. The first argument is +/* Run a program that hooks into some other system. The first argument is * name of the hook to use, the second is the full path name of a mail message. * The third argument is also the full path name of a mail message, or a NULL * pointer if it isn't needed. Look in the context for an error message if @@ -38,7 +36,7 @@ ext_hook(char *hook_name, char *message_file_name_1, char *message_file_name_2) vec[vecp++] = NULL; execvp(program, vec); advise(program, "Unable to execute"); - _exit(-1); + _exit(1); /* NOTREACHED */ default: