tweak debug message for app success

This commit is contained in:
shoopea 2023-08-01 11:18:00 +02:00
parent ab4bfd077b
commit b07a74543b
2 changed files with 9 additions and 5 deletions

View File

@ -184,7 +184,11 @@ func (c *Config) Run() {
if sched, err := app.Run(e.startTime); err != nil {
e.AddItem(fmt.Sprintf(" - App : Error running %s (%s)", app.name, err))
} else if *debug {
if sched != "" {
e.AddItem(fmt.Sprintf(" - App : Success backing up %s (%s)", app.name, sched))
} else {
e.AddItem(fmt.Sprintf(" - App : No backup for %s", app.name))
}
}
wg.Done()
}(a)

View File

@ -1,7 +1,7 @@
// Code generated by version.sh (@generated) DO NOT EDIT.
package main
var githash = "9c15294"
var githash = "ab4bfd0"
var branch = "v2"
var buildstamp = "2023-08-01_08:09:16"
var commits = "80"
var version = "9c15294-b80 - 2023-08-01_08:09:16"
var buildstamp = "2023-08-01_09:17:25"
var commits = "81"
var version = "ab4bfd0-b81 - 2023-08-01_09:17:25"