Add cron jobs to service

This commit is contained in:
dwrz
2026-06-02 12:04:02 +00:00
parent e5238e4081
commit 6fb63c8c90
84 changed files with 3022 additions and 2452 deletions

View File

@@ -55,6 +55,12 @@ func RunGovulncheck(ctx context.Context, env []string, r io.Reader, stdout io.Wr
return err
}
if cfg.version {
// If the -version flag is passed, exit before doing anything else. This is different than
// passing -show which includes "version".
return nil
}
incTelemetryFlagCounters(cfg)
switch cfg.ScanMode {