Skip to content

Commit

Permalink
fix: pass result of shm.Prune() through Wraith.SHMPrune()
Browse files Browse the repository at this point in the history
  • Loading branch information
0x1a8510f2 committed Dec 3, 2023
1 parent 6ec8448 commit 83e47d2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libwraith/Wraith.go
Original file line number Diff line number Diff line change
Expand Up @@ -250,10 +250,10 @@ func (w *Wraith) SHMDump() map[string]any {
}

// Proxy to shm.Prune()
func (w *Wraith) SHMPrune() {
func (w *Wraith) SHMPrune() int {
defer w.catch()

w.shm.Prune()
return w.shm.Prune()
}

//
Expand Down

0 comments on commit 83e47d2

Please sign in to comment.