summaryrefslogtreecommitdiff
path: root/cmd/goaes/commands/encrypt.go
diff options
context:
space:
mode:
authorLevi Durfee <levi.durfee@gmail.com>2026-01-08 18:42:05 -0500
committerLevi Durfee <levi.durfee@gmail.com>2026-01-08 18:42:13 -0500
commitc2c857fd19f364fc257e467044cff88db330589c (patch)
tree2e61e7b11a3c42f601ff082298d569b1e989e5dc /cmd/goaes/commands/encrypt.go
parentcb42c253aa3543301a43e5abf3e9ddffd90f7e0a (diff)
Fix magic number
Diffstat (limited to 'cmd/goaes/commands/encrypt.go')
-rw-r--r--cmd/goaes/commands/encrypt.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/goaes/commands/encrypt.go b/cmd/goaes/commands/encrypt.go
index 6f5c1fb..db924ee 100644
--- a/cmd/goaes/commands/encrypt.go
+++ b/cmd/goaes/commands/encrypt.go
@@ -16,7 +16,7 @@ func Encrypt(ctx context.Context, cmd *cli.Command) error {
destination := cmd.StringArg("destination")
if source == "" {
- return cli.Exit("missing source file", 2)
+ return cli.Exit("missing source file", invalidArgsExit)
}
if destination == "" {