moving all filesystem references to /scrutiny to /opt/scrutiny

fixes #230
This commit is contained in:
Jason Kulatunga
2022-05-09 09:29:39 -07:00
parent db73175f07
commit de702414b9
15 changed files with 63 additions and 63 deletions
+2 -2
View File
@@ -27,8 +27,8 @@ func main() {
}
//we're going to load the config file manually, since we need to validate it.
err = config.ReadConfig("/scrutiny/config/scrutiny.yaml") // Find and read the config file
if _, ok := err.(errors.ConfigFileMissingError); ok { // Handle errors reading the config file
err = config.ReadConfig("/opt/scrutiny/config/scrutiny.yaml") // Find and read the config file
if _, ok := err.(errors.ConfigFileMissingError); ok { // Handle errors reading the config file
//ignore "could not find config file"
} else if err != nil {
os.Exit(1)