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:
parent
bf95140dbe
commit
9a7fbea7b6
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue