Bump go-boilerplate; make error codes sequential

This commit is contained in:
2025-06-01 14:17:51 -04:00
parent 2e3be57e3e
commit 5f8789a0f0
12 changed files with 26 additions and 21 deletions
+1 -1
View File
@@ -14,7 +14,7 @@ import (
// For non-interactive CLI implementations, an entirely separate process is created for this purpose.
func LaunchClipClearProcess(copySubject string, isWayland bool) {
cmd := exec.Command(os.Args[0], "clipclear", strconv.FormatBool(isWayland))
back.WriteToStdin(cmd, copySubject)
_ = back.WriteToStdin(cmd, copySubject)
_ = cmd.Start()
os.Exit(0) // use os.Exit directly since this version of this function is only meant for non-interactive CLI implementations
}