diff options
author | Lennart Poettering <lennart@poettering.net> | 2015-09-24 12:42:30 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2015-09-29 21:55:52 +0200 |
commit | 65359589c2c22db881fd9c14e989941c19eff9a1 (patch) | |
tree | 9816ad754882092109892ada1df26a5eed4dde79 /src/shared | |
parent | 2cc7b0a25f7307a50fdad38ee4a2c6b9d856fff9 (diff) | |
download | systemd-65359589c2c22db881fd9c14e989941c19eff9a1.tar.gz systemd-65359589c2c22db881fd9c14e989941c19eff9a1.tar.bz2 systemd-65359589c2c22db881fd9c14e989941c19eff9a1.zip |
pager: minor simplification
Diffstat (limited to 'src/shared')
-rw-r--r-- | src/shared/pager.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/shared/pager.c b/src/shared/pager.c index 41da820938..1fa87a784e 100644 --- a/src/shared/pager.c +++ b/src/shared/pager.c @@ -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 */ |