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

@@ -188,7 +188,7 @@ func runAndRestart(opts *Options, args []string) error {
// if we are constantly failing or a restart was requested
// try to update the resources.
log.Printf("updating registry index")
updateRegistryIndex()
updateRegistryIndex(false)
}
}
}