Skip to content
Snippets Groups Projects
Commit 688d9a55 authored by Henrik (Grubba) Grubbström's avatar Henrik (Grubba) Grubbström
Browse files

Export: gzip enters interactive mode if the destination exists.

This can cause the export to hang and/or fail.
parent 484a4078
No related branches found
No related tags found
No related merge requests found
......@@ -408,6 +408,7 @@ int main(int argc, array(string) argv)
Stdio.recursive_rm(vpath);
}
rm(pike_base_name+"/"+filename+".tar.gz");
run( "gzip", "-9", pike_base_name+"/"+filename+".tar" )
{
clean_exit(1, "Gzip failed!\n");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment