summaryrefslogtreecommitdiff
path: root/internal/rtree/main.go
diff options
context:
space:
mode:
authorSandro Jäckel <sandro.jaeckel@sap.com>2023-04-17 13:28:47 +0200
committerSandro Jäckel <sandro.jaeckel@sap.com>2023-04-17 14:54:52 +0200
commit72c757b7a44dc5d19d821f7c2fa36bb082e4f2e3 (patch)
treeaa14acc93110f363b54eaa0218b9c0e25ee545dc /internal/rtree/main.go
parentbe0e424eecec3fec19ba3518f8fd1bb07b6908dc (diff)
downloadgofu-72c757b7a44dc5d19d821f7c2fa36bb082e4f2e3.tar.gz
Save rtree with go 1.20
Diffstat (limited to 'internal/rtree/main.go')
-rw-r--r--internal/rtree/main.go10
1 files changed, 5 insertions, 5 deletions
diff --git a/internal/rtree/main.go b/internal/rtree/main.go
index f401ced..7e27428 100644
--- a/internal/rtree/main.go
+++ b/internal/rtree/main.go
@@ -24,11 +24,11 @@ import (
"github.com/majewsky/gofu/internal/cli"
)
-//Exec executes the rtree applet and returns an exit code (0 for success, >0
-//for error). The argument is os.Args minus the leading "rtree" or "gofu
-//rtree". All side-effects (reading from stdin, writing to stdout/stderr,
-//executing other programs) pass through cli.Interface and can be intercepted
-//there for the purpose of testing.
+// Exec executes the rtree applet and returns an exit code (0 for success, >0
+// for error). The argument is os.Args minus the leading "rtree" or "gofu
+// rtree". All side-effects (reading from stdin, writing to stdout/stderr,
+// executing other programs) pass through cli.Interface and can be intercepted
+// there for the purpose of testing.
func Exec(args []string) int {
if !Init() {
return 1