t/t6001-rev-list-graft.sh: use the $( ... ) construct for command substitution
[gitweb.git] / credential-store.c
index fc67d16c10882bf543bd521d2f6dfee8d3c4d213..54c4e047373757598f6de7bf994251f0169b2b38 100644 (file)
@@ -64,8 +64,7 @@ static void rewrite_credential_file(const char *fn, struct credential *c,
                print_line(extra);
        parse_credential_file(fn, c, NULL, print_line);
        if (commit_lock_file(&credential_lock) < 0)
-               die_errno("unable to write credential store: %s",
-                         strerror(errno));
+               die_errno("unable to write credential store");
 }
 
 static void store_credential_file(const char *fn, struct credential *c)