14 lines
256 B
Diff
14 lines
256 B
Diff
--- pgpewrap.c
|
|
+++ pgpewrap.c
|
|
@@ -47,6 +47,10 @@
|
|
}
|
|
*opt = NULL;
|
|
|
|
+ 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;
|