contrib/git-credential-gnome-keyring.c: exit non-zero when called incorrectly

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>
This commit is contained in:
Brandon Casey 2013-09-23 11:49:06 -07:00 committed by Junio C Hamano
parent 18fe5add33
commit 7a6d6423c5

View File

@ -396,7 +396,7 @@ int main(int argc, char *argv[])
if (!argv[1]) {
usage(argv[0]);
goto out;
exit(EXIT_FAILURE);
}
/* lookup operation callback */