security-manager-policy-reload: don't print errors on image build 08/65808/2
authorRafal Krypa <r.krypa@samsung.com>
Tue, 12 Apr 2016 14:41:44 +0000 (16:41 +0200)
committerGerrit Code Review <gerrit@review.vlan103.tizen.org>
Wed, 13 Apr 2016 08:52:43 +0000 (01:52 -0700)
commita5fc32aee44c7e20d8508b34e0f5ea937c81b07a
treebf4fea4eb510bdc9d61f31d26665ec77ac21fa2f
parent8a546b88b19006430187d573ebdf2ea74f563bc3
security-manager-policy-reload: don't print errors on image build

The policy reload script, when recreating user type buckets for Cynara,
first tries to erase them and then create fresh ones. But on the first run,
during image build, there are no user type buckets in Cynara.

The error during erase is ignored by the script, as it should be, but misleading
error messages are also printed to stderr.
The error messagess should be silenced.

Change-Id: Ib09651560f15263793d758698e792a01471e1657
policy/security-manager-policy-reload