Remove log.Fatal() calls and bubble up errors

This commit is contained in:
Riccardo Biraghi
2018-04-10 13:27:24 +01:00
parent 7c36a9ceea
commit 2397966a86
4 changed files with 22 additions and 9 deletions

View File

@@ -19,6 +19,6 @@ package main
// Dummy version of this function, only for non-Linux systems.
// Having this allows unit tests to be run on other platforms (e.g. macOS)
func checkFS(path string) {
func checkFS(path string) error {
return
}