From 688d9a55974ee29581d53ede79f0d13d8039dd75 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Grubbstr=C3=B6m=20=28Grubba=29?= <grubba@grubba.org> Date: Sat, 4 Apr 2015 00:13:35 +0200 Subject: [PATCH] Export: gzip enters interactive mode if the destination exists. This can cause the export to hang and/or fail. --- bin/export.pike | 1 + 1 file changed, 1 insertion(+) diff --git a/bin/export.pike b/bin/export.pike index 0aad8b3471..21b5d95943 100755 --- a/bin/export.pike +++ b/bin/export.pike @@ -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"); -- GitLab