summaryrefslogtreecommitdiff
path: root/internal/run.go
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2024-10-02 11:06:51 +0300
committerPaul Buetow <paul@buetow.org>2024-10-02 11:06:51 +0300
commit5c41467e63cb3ec20397dd1790a10ca3999204d3 (patch)
tree7ea04b39c97d2fa05891fb58df3415bd4cbb47df /internal/run.go
parent87593db7993d1f3689d9602eed3ef095ac69cfb4 (diff)
fix
Diffstat (limited to 'internal/run.go')
-rw-r--r--internal/run.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/internal/run.go b/internal/run.go
index 51573f5..4d600f0 100644
--- a/internal/run.go
+++ b/internal/run.go
@@ -20,8 +20,10 @@ func Run(ctx context.Context, args config.Args) error {
switch {
case errors.Is(err, schedule.ErrNothingToSchedule):
log.Println("Nothing to be scheduled for", platform)
+ return nil
case errors.Is(err, schedule.ErrNothingQueued):
log.Println("Nothing queued for", platform)
+ return nil
case err != nil:
return err
}