From c2c857fd19f364fc257e467044cff88db330589c Mon Sep 17 00:00:00 2001 From: Levi Durfee Date: Thu, 8 Jan 2026 18:42:05 -0500 Subject: Fix magic number --- cmd/goaes/commands/decrypt.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cmd/goaes/commands/decrypt.go') diff --git a/cmd/goaes/commands/decrypt.go b/cmd/goaes/commands/decrypt.go index 1fcd83e..dc87b58 100644 --- a/cmd/goaes/commands/decrypt.go +++ b/cmd/goaes/commands/decrypt.go @@ -16,11 +16,11 @@ func Decrypt(ctx context.Context, cmd *cli.Command) error { destination := cmd.StringArg("destination") if source == "" { - return cli.Exit("missing source", 2) + return cli.Exit("missing source", invalidArgsExit) } if destination == "" { - return cli.Exit("missing destination", 2) + return cli.Exit("missing destination", invalidArgsExit) } source = filepath.Clean(source) -- cgit v1.2.3