summaryrefslogtreecommitdiff
path: root/init.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 /init.go
parent5673e2cc2e82206cf4c864dd1b56538895fe6a6e (diff)
remove os.Exit() as things are more stable nowv0.0.30
Diffstat (limited to 'init.go')
-rw-r--r--init.go3
1 files changed, 0 insertions, 3 deletions
diff --git a/init.go b/init.go
index 76df111..559b595 100644
--- a/init.go
+++ b/init.go
@@ -28,7 +28,6 @@ func Init() *Forge {
if err := f.Machine.ConfigLoad(); err != nil {
log.Warn("zoopb.ConfigLoad() failed", err)
- os.Exit(-1)
}
f.Machine.InitWit()
return f
@@ -44,7 +43,6 @@ func InitPB() *Forge {
goSrcDir, err := f.findGoSrc()
if err != nil {
log.Warn("forge init() findGoSrc()", err)
- os.Exit(-1)
}
os.Setenv("FORGE_GOSRC", goSrcDir)
}
@@ -69,7 +67,6 @@ func InitPB() *Forge {
f.Config = new(ForgeConfigs)
if err := f.Config.ConfigLoad(); err != nil {
log.Warn("forgepb.ConfigLoad() failed", err)
- os.Exit(-1)
}
if f.IsGoWork() {