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:
parent
9f2a2169fa
commit
6f04c9bfce
1 changed files with 1 additions and 1 deletions
|
@ -27,6 +27,6 @@ else
|
||||||
name="$__object_id"
|
name="$__object_id"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
apt-key list | grep -Fqe "$name" \
|
apt-key list 2> /dev/null | grep -Fqe "$name" \
|
||||||
&& echo present \
|
&& echo present \
|
||||||
|| echo absent
|
|| echo absent
|
||||||
|
|
Loading…
Reference in a new issue