From 27c251b98640130c7d9a3dae6fd66a8a4a22b6d5 Mon Sep 17 00:00:00 2001 From: Michael Vogt Date: Wed, 5 Oct 2011 20:52:42 +0200 Subject: cmdline/apt-key: use --output instead of the the pipe and import, thanks to mdeslaur and infinity for the code review --- cmdline/apt-key | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cmdline') diff --git a/cmdline/apt-key b/cmdline/apt-key index cd7824df1..c522d54fe 100755 --- a/cmdline/apt-key +++ b/cmdline/apt-key @@ -63,7 +63,7 @@ add_keys_with_verify_against_master_keyring() { # export the add keyring one-by-one rm -f $TMP_KEYRING - $GPG_CMD --keyring $ADD_KEYRING --export $add_key | $GPG_CMD --keyring $TMP_KEYRING --import --trust-model direct + $GPG_CMD --keyring $ADD_KEYRING --export $add_key --output $TMP_KEYRING # check if signed with the master key and only add in this case ADDED=0 -- cgit v1.2.3