Better logging for checkpoint
This commit is contained in:
parent
d4fcbfafa8
commit
d51364a897
|
@ -14,6 +14,7 @@ import (
|
||||||
func runCheckpoint(c *config) {
|
func runCheckpoint(c *config) {
|
||||||
// If the user doesn't want checkpoint at all, then return.
|
// If the user doesn't want checkpoint at all, then return.
|
||||||
if c.DisableCheckpoint {
|
if c.DisableCheckpoint {
|
||||||
|
log.Printf("[INFO] Checkpoint disabled. Not running.")
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -30,6 +31,7 @@ func runCheckpoint(c *config) {
|
||||||
|
|
||||||
signaturePath := filepath.Join(configDir, "checkpoint_signature")
|
signaturePath := filepath.Join(configDir, "checkpoint_signature")
|
||||||
if c.DisableCheckpointSignature {
|
if c.DisableCheckpointSignature {
|
||||||
|
log.Printf("[INFO] Checkpoint signature disabled")
|
||||||
signaturePath = ""
|
signaturePath = ""
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue