fix: log an accidentally ignored error

This commit is contained in:
yory8 2019-09-17 11:03:37 +02:00
parent 68cedcea0c
commit 1d9de528ed

View file

@ -67,7 +67,9 @@ func main() {
}
// serve selection to the OS
err = exec.Command("wl-copy", []string{"--", selection}...).Run()
if err := exec.Command("wl-copy", []string{"--", selection}...).Run(); err != nil {
log.Fatal(err)
}
case "clear":
histfile, history, err := getHistory(*histpath)
if err != nil {