summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorStefan Majewsky <majewsky@gmx.net>2017-05-09 22:00:15 +0200
committerStefan Majewsky <majewsky@gmx.net>2017-05-09 22:00:15 +0200
commit58a4af83e0caf09744dd698b5be937205b81e733 (patch)
treebcb6b4e587baaabce07c67e971e8459445eef367 /main.go
parenta92faf7689fa01595fd613ddd3880e9c301ed558 (diff)
downloadgofu-58a4af83e0caf09744dd698b5be937205b81e733.tar.gz
refactor package rtree towards testability
Diffstat (limited to 'main.go')
-rw-r--r--main.go9
1 files changed, 0 insertions, 9 deletions
diff --git a/main.go b/main.go
index 03dc9de..ea34c2e 100644
--- a/main.go
+++ b/main.go
@@ -23,19 +23,10 @@ import (
"os"
"path/filepath"
- "github.com/majewsky/gofu/pkg/cli"
- "github.com/majewsky/gofu/pkg/earlyerrors"
"github.com/majewsky/gofu/pkg/rtree"
)
func main() {
- if len(earlyerrors.Get()) > 0 {
- for _, msg := range earlyerrors.Get() {
- cli.Interface.ShowError(msg)
- }
- os.Exit(255)
- }
-
os.Exit(execApplet(filepath.Base(os.Args[0]), os.Args[1:], true))
}