fix
This commit is contained in:
@@ -10,6 +10,7 @@ import (
|
||||
"cloudsave/cmd/cli/commands/version"
|
||||
"context"
|
||||
"flag"
|
||||
"fmt"
|
||||
"os"
|
||||
|
||||
"github.com/google/subcommands"
|
||||
@@ -31,5 +32,9 @@ func main() {
|
||||
|
||||
flag.Parse()
|
||||
ctx := context.Background()
|
||||
os.Exit(int(subcommands.Execute(ctx)))
|
||||
|
||||
exitCode := subcommands.Execute(ctx)
|
||||
fmt.Println()
|
||||
|
||||
os.Exit(int(exitCode))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user