fix build

This commit is contained in:
yory8 2019-10-28 07:40:33 +01:00
parent 545642bd2b
commit 3dc60a4284

View file

@ -112,9 +112,7 @@ func main() {
if selection == history[len(history)-1] { if selection == history[len(history)-1] {
// wl-copy is still serving the copy, so replace with next latest // wl-copy is still serving the copy, so replace with next latest
// note: we alread exited if less than 2 items // note: we alread exited if less than 2 items
if err := serveTxt(history[len(history)-2]); err != nil { serveTxt(history[len(history)-2])
log.Fatal(err)
}
} }
if err := write(filter(history, selection), histfile); err != nil { if err := write(filter(history, selection), histfile); err != nil {