[ovs-git] [openvswitch/ovs] 49c5ee: utilities: don't use a bashism to check that datap...

GitHub noreply at github.com
Sat Aug 4 00:07:17 UTC 2018


  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: 49c5ee21ead68be4fc4593206dd022ad9249b286
      https://github.com/openvswitch/ovs/commit/49c5ee21ead68be4fc4593206dd022ad9249b286
  Author: Timothy Redaelli <tredaelli at redhat.com>
  Date:   2018-08-03 (Fri, 03 Aug 2018)

  Changed paths:
    M utilities/ovs-lib.in

  Log Message:
  -----------
  utilities: don't use a bashism to check that datapath exists

[[ ]] syntax is not supported, at least, by dash that Debian, Ubuntu and other
linux distributions may use instead of bash.

This commit uses, instead, a POSIX way that is compatible with any POSIX
shell (bash, dash, busybox sh, etc).

CC: Martin Xu <martinxu9.ovs at gmail.com>
Fixes: 9763d17fbd05 ("utilities: check datapath exists before conntrack flush")
Signed-off-by: Timothy Redaelli <tredaelli at redhat.com>
Signed-off-by: Ben Pfaff <blp at ovn.org>
Acked-by: Aaron Conole <aconole at redhat.com>



      **NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      Functionality will be removed from GitHub.com on January 31st, 2019.


More information about the git mailing list