From 17cbf86d486ad085b36191c518385a7a3b1f2b9b Mon Sep 17 00:00:00 2001 From: Simon Aronsson Date: Sun, 25 Aug 2019 13:02:08 +0200 Subject: [PATCH] fix: switch exit code for run once to 0 this resolves #347 --- cmd/root.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/root.go b/cmd/root.go index 8052e3b..ea00786 100644 --- a/cmd/root.go +++ b/cmd/root.go @@ -112,7 +112,7 @@ func Run(c *cobra.Command, names []string) { if runOnce { log.Info("Running a one time update.") runUpdatesWithNotifications(filter) - os.Exit(1) + os.Exit(0) return }