main: return an error when running a command failed

Этот коммит содержится в:
Ayke van Laethem 2019-06-04 19:28:57 +02:00 коммит произвёл Ron Evans
родитель 0ce4d90779
коммит 5f9c683abf

Просмотреть файл

@ -37,6 +37,7 @@ func execCommand(cmdNames []string, args ...string) error {
// this command was not found, try the next
continue
}
return err
}
return nil
}