From 65359589c2c22db881fd9c14e989941c19eff9a1 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Thu, 24 Sep 2015 12:42:30 +0200 Subject: [PATCH] pager: minor simplification --- src/shared/pager.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/shared/pager.c b/src/shared/pager.c index 41da820938b..1fa87a784ea 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 */