diff options
Diffstat (limited to 'pkg/rtree/main.go')
| -rw-r--r-- | pkg/rtree/main.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pkg/rtree/main.go b/pkg/rtree/main.go index 581fa7e..f08126e 100644 --- a/pkg/rtree/main.go +++ b/pkg/rtree/main.go @@ -27,6 +27,10 @@ import ( //Exec executes the rtree applet and does not return. The argument is os.Args //minus the leading "rtree" or "gofu rtree". func Exec(args []string) int { + if !Init() { + return 1 + } + if len(args) == 0 { return usage() } |
