mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-10-20 10:57:09 +00:00
Don't delete original and overwrite file when bzipping.
This commit is contained in:
1 parent
fc1f0dcbf7
commit
c2e443456d
1 file changed
+1
-1
+1
-1
@@ -28,6 +28,6 @@ func CompressFile(source *os.File) error {
|
||||
return err
|
||||
}
|
||||
|
||||
cmd := exec.Command("bzip2", source.Name())
|
||||
cmd := exec.Command("bzip2", "-k", "-f", source.Name())
|
||||
return cmd.Run()
|
||||
}
|
||||
Reference in new issue
Block a user