From a074bc9d7245f249c5a5ce1a9a527a078397481d Mon Sep 17 00:00:00 2001 From: Argelbargel Date: Thu, 28 Mar 2024 19:34:50 +0100 Subject: [PATCH] Supress superfluous warning --- init/entrypoint | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init/entrypoint b/init/entrypoint index ef72a74..e5948ed 100644 --- a/init/entrypoint +++ b/init/entrypoint @@ -1,7 +1,7 @@ #! /bin/sh set -eu -if [ -d /tmp/certs ] && [ "$(ls -A /tmp/certs/*)" ]; then +if [ -d /tmp/certs ] && [ "$(ls -A /tmp/certs/* 2> /dev/null)" ]; then echo "Updating certificates" cp /tmp/certs/* /usr/local/share/ca-certificates update-ca-certificates