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

Simon Horman simon.horman at netronome.com
Tue Oct 29 12:12:00 UTC 2019


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 at 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 at openvswitch.org
> https://mail.openvswitch.org/mailman/listinfo/ovs-dev
> 


More information about the dev mailing list