mirror of
https://github.com/systemd/systemd.git
synced 2024-11-08 11:27:32 +03:00
pager: minor simplification
This commit is contained in:
parent
2cc7b0a25f
commit
65359589c2
@ -74,9 +74,8 @@ int pager_open(bool jump_to_end) {
|
||||
|
||||
pager_pid = fork();
|
||||
if (pager_pid < 0) {
|
||||
r = log_error_errno(errno, "Failed to fork pager: %m");
|
||||
safe_close_pair(fd);
|
||||
return r;
|
||||
return log_error_errno(errno, "Failed to fork pager: %m");
|
||||
}
|
||||
|
||||
/* In the child start the pager */
|
||||
|
Loading…
Reference in New Issue
Block a user