Log when exiting after --one-time

This commit is contained in:
Tim Hockin 2022-08-12 16:43:46 -07:00
parent bc865d0329
commit 74b6a13d76
1 changed files with 1 additions and 0 deletions

View File

@ -694,6 +694,7 @@ func main() {
}
}
log.DeleteErrorFile()
log.V(2).Info("exiting after one sync", "status", exitCode)
os.Exit(exitCode)
}
if isHash, err := git.RevIsHash(ctx); err != nil {