NXM, OXM: Add Flow Label Tests
[openvswitch] / lib / netdev-vport.c
index d2c2672b024974abe27d684af82d69617375a919..836069f7038544bb4050e0e2ee455b75b361e0f7 100644 (file)
@@ -682,7 +682,7 @@ parse_tunnel_config(const char *name, const char *type,
 
     if (is_ipsec) {
         static pid_t pid = 0;
-        if (pid == 0) {
+        if (pid <= 0) {
             char *file_name = xasprintf("%s/%s", ovs_rundir(),
                                         "ovs-monitor-ipsec.pid");
             pid = read_pidfile(file_name);