1
0
Fork 0
mirror of https://github.com/gocsaf/csaf.git synced 2025-12-22 18:15:42 +01:00

Fix first part of transaction.

This commit is contained in:
Sascha L. Teichmann 2022-08-02 18:36:20 +02:00
parent bf95140dbe
commit 9a7fbea7b6

View file

@ -47,7 +47,7 @@ func (lt *lazyTransaction) Dst() (string, error) {
} }
// Copy old content into new. // Copy old content into new.
if err := util.DeepCopy(lt.dst, lt.src); err != nil { if err := util.DeepCopy(dst, lt.src); err != nil {
os.RemoveAll(dst) os.RemoveAll(dst)
return "", err return "", err
} }