don't remove tmp files in test mode

This commit is contained in:
Laurent Vivier
2007-09-03 19:55:52 +00:00
parent b966757f98
commit 537b85855e

View File

@@ -401,7 +401,7 @@ static int add_file(char *configuration,
property, map_info);
if ((action & ACTION_TEST) != 0)
unlink(map_path);
fprintf(stderr, "WARNING: test mode, you must remove manually %s\n", map_path);
free(map_path);
return 0;