git.99rst.org
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
18fe5ad
)
contrib/git-credential-gnome-keyring.c: exit non-zero when called incorrectly
author
Brandon Casey
<redacted>
Mon, 23 Sep 2013 18:49:06 +0000
(11:49 -0700)
committer
Junio C Hamano
<redacted>
Wed, 16 Oct 2013 16:35:30 +0000
(09:35 -0700)
If the correct arguments were not specified, this program should exit
non-zero. Let's do so.
Signed-off-by: Brandon Casey <redacted>
Signed-off-by: Junio C Hamano <redacted>
contrib/credential/gnome-keyring/git-credential-gnome-keyring.c
patch
|
blob
|
history
diff --git
a/contrib/credential/gnome-keyring/git-credential-gnome-keyring.c
b/contrib/credential/gnome-keyring/git-credential-gnome-keyring.c
index 3ff541cfab83cdf19b979aed18d058804cff0fe3..04852d77d3a1c5363daf0d01460abe43a6edbed3 100644
(file)
--- a/
contrib/credential/gnome-keyring/git-credential-gnome-keyring.c
+++ b/
contrib/credential/gnome-keyring/git-credential-gnome-keyring.c
@@
-396,7
+396,7
@@
int main(int argc, char *argv[])
if (!argv[1]) {
usage(argv[0]);
-
goto out
;
+
exit(EXIT_FAILURE)
;
}
/* lookup operation callback */
git clone https://git.99rst.org/PROJECT