summaryrefslogtreecommitdiff
path: root/config.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-12-14 16:29:39 -0600
committerJeff Carr <[email protected]>2024-12-14 16:29:39 -0600
commitb55548a58b43cf8d30edbe0440a3fd8efbddabfd (patch)
tree225c93d8638940071cf9ac6abdd5b37fa16a9712 /config.go
parent5673e2cc2e82206cf4c864dd1b56538895fe6a6e (diff)
remove os.Exit() as things are more stable nowv0.0.30
Diffstat (limited to 'config.go')
-rw-r--r--config.go4
1 files changed, 0 insertions, 4 deletions
diff --git a/config.go b/config.go
index 599db3e..4034f66 100644
--- a/config.go
+++ b/config.go
@@ -7,7 +7,6 @@ import (
"errors"
"os"
"path/filepath"
- "time"
"go.wit.com/log"
)
@@ -120,9 +119,6 @@ func (c *ForgeConfigs) ConfigLoad() error {
if _, err := os.Stat(cpath); err == nil {
log.Info("Something has gone wrong. Your", os.Getenv("FORGE_CONFIG"), "directory exists")
log.Info("However, the config files could not be loaded")
- time.Sleep(2 * time.Second)
- os.Exit(-1)
- // return errors.New("config files can not be loaded from" + os.Getenv("FORGE_CONFIG"))
}
// first time user. make a template config file