mirror of
https://github.com/gocsaf/csaf.git
synced 2025-12-22 18:15:42 +01:00
Fix typo
This commit is contained in:
parent
c59a8f07a3
commit
e39fc34599
1 changed files with 1 additions and 1 deletions
|
|
@ -53,7 +53,7 @@ func lock(lockFile *string, fn func() error) error {
|
||||||
}
|
}
|
||||||
|
|
||||||
if !locked {
|
if !locked {
|
||||||
return fmt.Errorf("cannot aquire file lock at %s. Maybe the CSAF aggregator is already running?", *lockFile)
|
return fmt.Errorf("cannot acquire file lock at %s. Maybe the CSAF aggregator is already running?", *lockFile)
|
||||||
}
|
}
|
||||||
defer fl.Unlock()
|
defer fl.Unlock()
|
||||||
return fn()
|
return fn()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue