diff options
Diffstat (limited to 'cmd/goaes/commands/decrypt.go')
| -rw-r--r-- | cmd/goaes/commands/decrypt.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/goaes/commands/decrypt.go b/cmd/goaes/commands/decrypt.go index 8f73c42..1912c1a 100644 --- a/cmd/goaes/commands/decrypt.go +++ b/cmd/goaes/commands/decrypt.go @@ -39,7 +39,7 @@ func Decrypt(ctx context.Context, cmd *cli.Command) error { return err } - err = os.WriteFile(destination, plaintext, 0666) + err = os.WriteFile(destination, plaintext, fileMode) if err != nil { return err } |
