abspath: trivial style fix
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>maint
parent
077f43447c
commit
e46c92e4ef
|
@ -143,7 +143,7 @@ static const char *real_path_internal(const char *path, int die_on_error)
|
||||||
error_out:
|
error_out:
|
||||||
free(last_elem);
|
free(last_elem);
|
||||||
if (*cwd && chdir(cwd))
|
if (*cwd && chdir(cwd))
|
||||||
die_errno ("Could not change back to '%s'", cwd);
|
die_errno("Could not change back to '%s'", cwd);
|
||||||
|
|
||||||
return retval;
|
return retval;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue