Skip to content

Commit

Permalink
fix: switch exit code for run once to 0
Browse files Browse the repository at this point in the history
this resolves #347
  • Loading branch information
simskij committed Aug 25, 2019
1 parent 6ce142b commit 17cbf86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/root.go
Expand Up @@ -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
}

Expand Down

0 comments on commit 17cbf86

Please sign in to comment.