mirror of
https://github.com/shadow-maint/shadow.git
synced 2026-01-26 14:03:17 +00:00
lib/run_part.c: Fix error message
The failing function call was wait, not waitpid. Reviewed-by: Alejandro Colomar <alx@kernel.org> Signed-off-by: Tobias Stoeckmann <tobias@stoeckmann.org>
This commit is contained in:
parent
cf90975d11
commit
f6d9e5c019
@ -42,7 +42,7 @@ static int run_part(char *script_path, const char *name, const char *action)
|
||||
return (wait_status);
|
||||
}
|
||||
|
||||
fprintf(shadow_logfd, "waitpid: %s\n", strerrno());
|
||||
fprintf(shadow_logfd, "wait: %s\n", strerrno());
|
||||
return (1);
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user