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

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

  Branch: refs/heads/branch-2.10
  Home:   https://github.com/openvswitch/ovs
  Commit: f80a45729bac35d7b7fd7fb901f66ac554111696
  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