diff --git a/scrutiny/rootfs/etc/cont-init.d/90-run.sh b/scrutiny/rootfs/etc/cont-init.d/90-run.sh index 022939152..dc9f3ab5a 100755 --- a/scrutiny/rootfs/etc/cont-init.d/90-run.sh +++ b/scrutiny/rootfs/etc/cont-init.d/90-run.sh @@ -8,7 +8,7 @@ if bashio::config.true "expose_collector"; then bashio::log.info "collector.yaml exposed in /share/scrutiny" mkdir -p /share/scrutiny - if [ -f /data/config/collector.yaml] ; then + if [ -f /data/config/collector.yaml ] ; then cp -rnf /data/config/collector.yaml /share/scrutiny || true rm -R /data/config/collector.yaml else