Better logging for checkpoint

This commit is contained in:
Mitchell Hashimoto 2014-09-08 14:21:13 -07:00
parent d4fcbfafa8
commit d51364a897
1 changed files with 2 additions and 0 deletions

View File

@ -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 = ""
}