From 744d77c8f79db0081826d3477399ae8ab52db690 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Elan=20Ruusam=C3=A4e?= Date: Wed, 25 Mar 2015 14:53:47 +0200 Subject: [PATCH] fix --- openssh.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openssh.spec b/openssh.spec index fb9293c..57246dd 100644 --- a/openssh.spec +++ b/openssh.spec @@ -92,7 +92,7 @@ BuildRequires: sed >= 4.0 # libseccomp based sandbox requires NO_NEW_PRIVS prctl flag %{?with_tests:BuildRequires: uname(release) >= 3.5} BuildRequires: zlib-devel >= 1.2.3 -%if %{with tests} && 0%(id -u sshd 2>/dev/null; echo $?) +%if %{with tests} && 0%(id -u sshd >/dev/null 2>&1; echo $?) BuildRequires: %{name}-server %endif Requires: zlib >= 1.2.3 -- 2.43.0