Skip to content

Commit

Permalink
contrib/git-credential-gnome-keyring.c: exit non-zero when called inc…
Browse files Browse the repository at this point in the history
…orrectly

If the correct arguments were not specified, this program should exit
non-zero.  Let's do so.

Signed-off-by: Brandon Casey <drafnel@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
  • Loading branch information
Brandon Casey authored and Junio C Hamano committed Oct 16, 2013
1 parent 18fe5ad commit 7a6d642
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -396,7 +396,7 @@ int main(int argc, char *argv[])

if (!argv[1]) {
usage(argv[0]);
goto out;
exit(EXIT_FAILURE);
}

/* lookup operation callback */
Expand Down

0 comments on commit 7a6d642

Please sign in to comment.