\n usage in stderr output
fprintf and die sometimes have missing/excessive "\n" in their arguments, correct the strings where I think it would be appropriate. Signed-off-by: Alex Riesen <raa.lkml@gmail.com> Signed-off-by: Junio C Hamano <junkio@cox.net>
This commit is contained in:

committed by
Junio C Hamano

parent
f4a11066cf
commit
7246ed438c
@ -79,7 +79,7 @@ static int run_update_hook(const char *refname,
|
||||
case -ERR_RUN_COMMAND_WAITPID_WRONG_PID:
|
||||
die("waitpid is confused");
|
||||
case -ERR_RUN_COMMAND_WAITPID_SIGNAL:
|
||||
fprintf(stderr, "%s died of signal", update_hook);
|
||||
fprintf(stderr, "%s died of signal\n", update_hook);
|
||||
return -1;
|
||||
case -ERR_RUN_COMMAND_WAITPID_NOEXIT:
|
||||
die("%s died strangely", update_hook);
|
||||
|
Reference in New Issue
Block a user