Skip to content

Commit

Permalink
fix #869 by removing lock file after unlocking (#947)
Browse files Browse the repository at this point in the history
  • Loading branch information
CarltonHenderson authored Feb 4, 2020
1 parent 2241adf commit bec0985
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkg/commands/executor.go
Original file line number Diff line number Diff line change
Expand Up @@ -223,4 +223,7 @@ func (e *Executor) releaseFileLock() {
if err := e.flock.Unlock(); err != nil {
e.debugf("Failed to unlock on file: %s", err)
}
if err := os.Remove(e.flock.Path()); err != nil {
e.debugf("Failed to remove lock file: %s", err)
}
}

0 comments on commit bec0985

Please sign in to comment.