summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--main.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/main.go b/main.go
index c187ce8..9ce095b 100644
--- a/main.go
+++ b/main.go
@@ -12,8 +12,8 @@ import (
var version = "compiled"
func main() {
- app := app.Command(version)
- if err := app.Run(context.Background(), os.Args); err != nil {
+ cmd := app.Command(version)
+ if err := cmd.Run(context.Background(), os.Args); err != nil {
slog.Error("Program crashed", util.ErrKey, err.Error())
os.Exit(1)
}