tweak debug message for app success
This commit is contained in:
parent
ab4bfd077b
commit
b07a74543b
@ -184,7 +184,11 @@ func (c *Config) Run() {
|
|||||||
if sched, err := app.Run(e.startTime); err != nil {
|
if sched, err := app.Run(e.startTime); err != nil {
|
||||||
e.AddItem(fmt.Sprintf(" - App : Error running %s (%s)", app.name, err))
|
e.AddItem(fmt.Sprintf(" - App : Error running %s (%s)", app.name, err))
|
||||||
} else if *debug {
|
} else if *debug {
|
||||||
|
if sched != "" {
|
||||||
e.AddItem(fmt.Sprintf(" - App : Success backing up %s (%s)", app.name, 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()
|
wg.Done()
|
||||||
}(a)
|
}(a)
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
// Code generated by version.sh (@generated) DO NOT EDIT.
|
// Code generated by version.sh (@generated) DO NOT EDIT.
|
||||||
package main
|
package main
|
||||||
var githash = "9c15294"
|
var githash = "ab4bfd0"
|
||||||
var branch = "v2"
|
var branch = "v2"
|
||||||
var buildstamp = "2023-08-01_08:09:16"
|
var buildstamp = "2023-08-01_09:17:25"
|
||||||
var commits = "80"
|
var commits = "81"
|
||||||
var version = "9c15294-b80 - 2023-08-01_08:09:16"
|
var version = "ab4bfd0-b81 - 2023-08-01_09:17:25"
|
||||||
|
Loading…
Reference in New Issue
Block a user