fix build
This commit is contained in:
parent
545642bd2b
commit
3dc60a4284
1 changed files with 1 additions and 3 deletions
4
main.go
4
main.go
|
@ -112,9 +112,7 @@ func main() {
|
|||
if selection == history[len(history)-1] {
|
||||
// wl-copy is still serving the copy, so replace with next latest
|
||||
// note: we alread exited if less than 2 items
|
||||
if err := serveTxt(history[len(history)-2]); err != nil {
|
||||
log.Fatal(err)
|
||||
}
|
||||
serveTxt(history[len(history)-2])
|
||||
}
|
||||
|
||||
if err := write(filter(history, selection), histfile); err != nil {
|
||||
|
|
Loading…
Reference in a new issue