Commit d51364a8 authored by Mitchell Hashimoto's avatar Mitchell Hashimoto

Better logging for checkpoint

parent d4fcbfaf
......@@ -14,6 +14,7 @@ import (
func runCheckpoint(c *config) {
// If the user doesn't want checkpoint at all, then return.
if c.DisableCheckpoint {
log.Printf("[INFO] Checkpoint disabled. Not running.")
return
}
......@@ -30,6 +31,7 @@ func runCheckpoint(c *config) {
signaturePath := filepath.Join(configDir, "checkpoint_signature")
if c.DisableCheckpointSignature {
log.Printf("[INFO] Checkpoint signature disabled")
signaturePath = ""
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment