mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
gpg: Fix comparison.
* g10/gpgcompose.c (literal_name): Complain if passed zero arguments, not one or fewer. Signed-off-by: Neal H. Walfield <neal@walfield.org>
This commit is contained in:
parent
98c260e057
commit
1ed21eee79
1 changed files with 1 additions and 1 deletions
|
@ -2746,7 +2746,7 @@ literal_name (const char *option, int argc, char *argv[], void *cookie)
|
|||
{
|
||||
struct litinfo *li = cookie;
|
||||
|
||||
if (argc <= 1)
|
||||
if (argc <= 0)
|
||||
log_fatal ("Usage: %s NAME\n", option);
|
||||
|
||||
if (strlen (argv[0]) > 255)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue