Let portmaster-start exit with an error if index update fails

This commit is contained in:
Patrick Pacher
2020-07-22 14:16:13 +02:00
parent 088fef6f55
commit 504c753a9b
5 changed files with 12 additions and 22 deletions

View File

@@ -22,7 +22,7 @@ var versionCmd = &cobra.Command{
if showAllVersions {
// if we are going to show all component versions
// we need the dataroot to be configured.
if err := configureDataRoot(); err != nil {
if err := configureDataRoot(false); err != nil {
return err
}
}