aboutsummaryrefslogtreecommitdiff
path: root/cmd/fscrypt/fscrypt.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/fscrypt/fscrypt.go')
-rw-r--r--cmd/fscrypt/fscrypt.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/cmd/fscrypt/fscrypt.go b/cmd/fscrypt/fscrypt.go
index aa5b6f4..93f97de 100644
--- a/cmd/fscrypt/fscrypt.go
+++ b/cmd/fscrypt/fscrypt.go
@@ -26,7 +26,7 @@ package main
import (
"fmt"
- "io/ioutil"
+ "io"
"log"
"os"
@@ -110,8 +110,8 @@ func setupCommand(command *cli.Command) {
// io.Writers and that we haven't over-specified our flags. We only print the
// logs when using verbose, and only print normal stuff when not using quiet.
func setupBefore(c *cli.Context) error {
- log.SetOutput(ioutil.Discard)
- c.App.Writer = ioutil.Discard
+ log.SetOutput(io.Discard)
+ c.App.Writer = io.Discard
if verboseFlag.Value {
log.SetOutput(os.Stdout)