From f44c7cde33374a7d53518ab57f19b2ceefaeffba Mon Sep 17 00:00:00 2001 From: Quentin Young Date: Wed, 10 Jun 2020 00:20:04 -0400 Subject: [PATCH] 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 --- docker/alpine/docker-start | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/alpine/docker-start b/docker/alpine/docker-start index 52cfb664ce..3f7737d3bf 100755 --- a/docker/alpine/docker-start +++ b/docker/alpine/docker-start @@ -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