summaryrefslogtreecommitdiffstats
path: root/docker
diff options
context:
space:
mode:
authorQuentin Young <qlyoung@cumulusnetworks.com>2020-06-10 06:20:04 +0200
committerQuentin Young <qlyoung@cumulusnetworks.com>2020-06-10 06:20:04 +0200
commitf44c7cde33374a7d53518ab57f19b2ceefaeffba (patch)
tree0eeb329eb64c3feabeb9aa798ad0c8ebe1ae4165 /docker
parentMerge pull request #6510 from donaldsharp/useful_timings (diff)
downloadfrr-f44c7cde33374a7d53518ab57f19b2ceefaeffba.tar.xz
frr-f44c7cde33374a7d53518ab57f19b2ceefaeffba.zip
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>
Diffstat (limited to 'docker')
-rwxr-xr-xdocker/alpine/docker-start2
1 files changed, 1 insertions, 1 deletions
diff --git a/docker/alpine/docker-start b/docker/alpine/docker-start
index 52cfb664c..3f7737d3b 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