2016-05-12 16:10:16 +02:00
|
|
|
---
|
2018-07-05 13:57:50 +02:00
|
|
|
pgpewrap.c | 5 +++++
|
|
|
|
1 file changed, 5 insertions(+)
|
2016-05-12 16:10:16 +02:00
|
|
|
|
2007-01-16 00:26:03 +01:00
|
|
|
--- pgpewrap.c
|
2019-11-14 09:54:32 +01:00
|
|
|
+++ pgpewrap.c 2019-11-13 13:00:01.256398592 +0000
|
2020-06-15 17:14:00 +02:00
|
|
|
@@ -57,6 +57,11 @@ int main(int argc, char **argv)
|
2019-11-14 09:54:32 +01:00
|
|
|
}
|
|
|
|
*opt = NULL;
|
2007-01-16 00:26:03 +01:00
|
|
|
|
2019-11-14 09:54:32 +01:00
|
|
|
+ if (opts[0] == NULL)
|
|
|
|
+ {
|
|
|
|
+ fprintf(stderr, "Command line usage: %s [flags] -- prefix [recipients]\n", argv[0]);
|
|
|
|
+ return 1;
|
|
|
|
+ }
|
|
|
|
execvp(opts[0], opts);
|
|
|
|
perror(argv[0]);
|
|
|
|
return 2;
|