diff mbox series

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

Message ID 20191028083744.156452-1-roid@mellanox.com
State Accepted
Commit ed1617406ceaa79c83417bd1ad8c05944eddda71
Headers show
Series [ovs-dev] rhel: openvswitch-fedora.spec.in: Fix output redirect to null device | expand

Commit Message

Roi Dayan Oct. 28, 2019, 8:37 a.m. UTC
Add missing slash.

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

Comments

Simon Horman Oct. 29, 2019, 12:12 p.m. UTC | #1
On Mon, Oct 28, 2019 at 10:37:44AM +0200, Roi Dayan wrote:
> Add missing slash.
> 
> Fixes: 0447019df7c6 ("fedora-spec: added systemd post/postun/pre/preun sections")
> Signed-off-by: Roi Dayan <roid@mellanox.com>

Thanks Roi,

I've applied this to master and backported it as far back as branch-2.5.

> ---
>  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
> 
> _______________________________________________
> dev mailing list
> dev@openvswitch.org
> https://mail.openvswitch.org/mailman/listinfo/ovs-dev
>
diff mbox series

Patch

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