2016-05-12 16:10:16 +02:00
|
|
|
---
|
2017-04-28 16:47:43 +02:00
|
|
|
pgpewrap.c | 6 ++++++
|
|
|
|
1 file changed, 6 insertions(+)
|
2016-05-12 16:10:16 +02:00
|
|
|
|
2007-01-16 00:26:03 +01:00
|
|
|
--- pgpewrap.c
|
2017-09-15 11:18:59 +02:00
|
|
|
+++ pgpewrap.c 2017-09-11 11:34:11.241263407 +0000
|
|
|
|
@@ -63,6 +63,12 @@ int main(int argc, char **argv)
|
2017-04-28 16:47:43 +02:00
|
|
|
}
|
|
|
|
*opt = NULL;
|
2007-01-16 00:26:03 +01:00
|
|
|
|
2017-04-28 16:47:43 +02: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;
|