Explorer pipes output of apt-key list, which always generates:

Warning: apt-key output should not be parsed (stdout is not a terminal)
on stderr. Redirect stderr of apt-key to /dev/null to prevent output in
cdist run.
This commit is contained in:
Mark Verboom 2017-08-25 14:31:32 +02:00
parent 9f2a2169fa
commit 6f04c9bfce
1 changed files with 1 additions and 1 deletions

View File

@ -27,6 +27,6 @@ else
name="$__object_id"
fi
apt-key list | grep -Fqe "$name" \
apt-key list 2> /dev/null | grep -Fqe "$name" \
&& echo present \
|| echo absent