mirror of
https://github.com/rwinkhart/libmutton.git
synced 2026-09-02 07:07:26 -04:00
Explicitly ignore some errors
This commit is contained in:
+1
-1
@@ -24,7 +24,7 @@ func copyString(continuous bool, copySubject string) error {
|
||||
return errors.New("clipboard platform could not be determined")
|
||||
}
|
||||
|
||||
back.WriteToStdin(cmdCopy, copySubject)
|
||||
_ = back.WriteToStdin(cmdCopy, copySubject)
|
||||
err := cmdCopy.Run()
|
||||
if err != nil {
|
||||
return errors.New("unable to copy to clipboard: " + err.Error())
|
||||
|
||||
Reference in New Issue
Block a user