Merge branch 'maint'
* maint: credential-store: don't pass strerror to die_errno()
This commit is contained in:
commit
787407e5e0
@ -64,8 +64,7 @@ static void rewrite_credential_file(const char *fn, struct credential *c,
|
|||||||
print_line(extra);
|
print_line(extra);
|
||||||
parse_credential_file(fn, c, NULL, print_line);
|
parse_credential_file(fn, c, NULL, print_line);
|
||||||
if (commit_lock_file(&credential_lock) < 0)
|
if (commit_lock_file(&credential_lock) < 0)
|
||||||
die_errno("unable to write credential store: %s",
|
die_errno("unable to write credential store");
|
||||||
strerror(errno));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static void store_credential_file(const char *fn, struct credential *c)
|
static void store_credential_file(const char *fn, struct credential *c)
|
||||||
|
Loading…
Reference in New Issue
Block a user