Skip to content

Commit

Permalink
Supress superfluous warning
Browse files Browse the repository at this point in the history
  • Loading branch information
Argelbargel committed Mar 28, 2024
1 parent 4fb9808 commit a074bc9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion init/entrypoint
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit a074bc9

Please sign in to comment.