attach: convert to strequal()

parent aeb0b9bf
......@@ -805,7 +805,7 @@ static int lxc_attach_set_environment(struct attach_context *ctx,
return -1;
}
if (strcmp(extra_keep[i], "PATH") == 0)
if (strequal(extra_keep[i], "PATH"))
path_kept = 1;
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment