Skip to content
Permalink
Browse files

chore: do not need to get output

  • Loading branch information...
caarlos0 committed Oct 31, 2018
1 parent 8348301 commit 58de70c29e09055c4681c6835ef0224e3350ac2b
Showing with 1 addition and 1 deletion.
  1. +1 −1 internal/pipe/sign/sign_test.go
@@ -25,7 +25,7 @@ func TestMain(m *testing.M) {
rand.Seed(time.Now().UnixNano())
keyring = fmt.Sprintf("/tmp/gorel_gpg_test.%d", rand.Int())
fmt.Println("copying", originKeyring, "to", keyring)
if _, err := exec.Command("cp", "-Rf", originKeyring, keyring).CombinedOutput(); err != nil {
if err := exec.Command("cp", "-Rf", originKeyring, keyring).Run(); err != nil {
fmt.Printf("failed to copy %s to %s: %s", originKeyring, keyring, err)
os.Exit(1)
}

0 comments on commit 58de70c

Please sign in to comment.
You can’t perform that action at this time.