master > master: code go - minor
This commit is contained in:
parent
552c3197e8
commit
31b3c19bf9
@ -24,9 +24,11 @@ func actionShowVersion() (bool, error) {
|
||||
func actionRunOnConfig() (bool, error) {
|
||||
path, cancel, err := logging.Prompt("Pfad zur Configdatei bitte eingeben:")
|
||||
if cancel {
|
||||
err = nil
|
||||
} else if err == nil {
|
||||
err = RunNonInteractive(path)
|
||||
return true, nil
|
||||
}
|
||||
return cancel, err
|
||||
if err != nil {
|
||||
return false, err
|
||||
}
|
||||
err = RunNonInteractive(path)
|
||||
return false, err
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user