From 0799a6d67cfd65d0228014478632f85780ed5517 Mon Sep 17 00:00:00 2001 From: Ralph Slooten Date: Sat, 30 Jul 2022 00:05:27 +1200 Subject: [PATCH] Ensure self-updater binary test works --- updater/updater.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/updater/updater.go b/updater/updater.go index 8daa789..31b52aa 100644 --- a/updater/updater.go +++ b/updater/updater.go @@ -170,7 +170,7 @@ func GithubUpdate(repo, appName, currentVersion string) (string, error) { // ensure the new binary is executable (mainly for inconsistent darwin builds) /* #nosec G204 */ - cmd := exec.Command(newExec) + cmd := exec.Command(newExec, "-h") if err := cmd.Run(); err != nil { return "", err }