[ovs-dev] [PATCH] rhel: openvswitch-fedora.spec.in: Fix output redirect to null device

Roi Dayan roid at mellanox.com
Mon Oct 28 08:37:44 UTC 2019


Add missing slash.

Fixes: 0447019df7c6 ("fedora-spec: added systemd post/postun/pre/preun sections")
Signed-off-by: Roi Dayan <roid at mellanox.com>
---
 rhel/openvswitch-fedora.spec.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/rhel/openvswitch-fedora.spec.in b/rhel/openvswitch-fedora.spec.in
index 3a87c6d0c339..0f635210147c 100644
--- a/rhel/openvswitch-fedora.spec.in
+++ b/rhel/openvswitch-fedora.spec.in
@@ -340,7 +340,7 @@ fi
 %else
     # Package install, not upgrade
     if [ $1 -eq 1 ]; then
-        /bin/systemctl daemon-reload >dev/null || :
+        /bin/systemctl daemon-reload >/dev/null || :
     fi
 %endif
 
-- 
2.8.4



More information about the dev mailing list