docker: don't fail on chown /etc/frr

If we can chown /etc/frr then fine, but there's circumstances where we
won't be able to - for instance, if running FRR in Kubernetes where
/etc/frr/* is actually a virtual filesystem.

Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
This commit is contained in:
Quentin Young 2020-06-10 00:20:04 -04:00
parent fe171b4e1a
commit f44c7cde33

View File

@ -5,7 +5,7 @@ set -e
##
# For volume mounts...
##
chown -R frr:frr /etc/frr
chown -R frr:frr /etc/frr || true
/usr/lib/frr/frrinit.sh start
# Sleep forever