summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoi Dayan <roid@mellanox.com>2019-10-28 10:37:44 +0200
committerSimon Horman <simon.horman@netronome.com>2019-10-29 09:47:34 +0100
commitb6bb25fa2d337c4af67c13cdc3c504d15eb97ce3 (patch)
tree8bb9843d04bfcf2c99e2dfcf2184f82577729b98
parent373e3951bddf7473e545bd91a35b6719ca8c0770 (diff)
downloadopenvswitch-b6bb25fa2d337c4af67c13cdc3c504d15eb97ce3.tar.gz
rhel: openvswitch-fedora.spec.in: Fix output redirect to null device
Add missing slash. Fixes: 0447019df7c6 ("fedora-spec: added systemd post/postun/pre/preun sections") Signed-off-by: Roi Dayan <roid@mellanox.com> Signed-off-by: Simon Horman <simon.horman@netronome.com>
-rw-r--r--rhel/openvswitch-fedora.spec.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/rhel/openvswitch-fedora.spec.in b/rhel/openvswitch-fedora.spec.in
index 82e42c839..9306f3e06 100644
--- a/rhel/openvswitch-fedora.spec.in
+++ b/rhel/openvswitch-fedora.spec.in
@@ -360,7 +360,7 @@ rm -rf $RPM_BUILD_ROOT
%else
# Package install, not upgrade
if [ $1 -eq 1 ]; then
- /bin/systemctl daemon-reload >dev/null || :
+ /bin/systemctl daemon-reload >/dev/null || :
fi
%endif