aws-keychain: use shell_output instead of system

This commit is contained in:
Elliot Murphy 2016-03-05 15:43:27 -05:00 committed by Xu Cheng
parent 75214901cc
commit 73c3876d0f

View file

@ -12,6 +12,6 @@ class AwsKeychain < Formula
# aws-keychain is a simple shell script wrapper around built-in
# keychain utilities. It is not possible to create a new
# keychain without triggering a keychain prompt.
system "aws-keychain --help || true"
shell_output("aws-keychain --help", 1)
end
end