diff --git a/src/openvz_conf.c b/src/openvz_conf.c index 41c668473c..2f0471c3c4 100644 --- a/src/openvz_conf.c +++ b/src/openvz_conf.c @@ -692,7 +692,6 @@ openvz_copyfile(char* from_path, char* to_path) fd = -1; if (close(copy_fd) < 0) goto error; - copy_fd = -1; return 0;