File tree 3 files changed +3
-3
lines changed
3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 25
25
26
26
if [ -d ./nginx-start-hook ]; then
27
27
echo " ---> Copying nginx start-hook scripts..."
28
- if [ " $( ls -A ./nginx-start-hook/* ) " ]; then
28
+ if [ " $( ls -A ./nginx-start-hook/* 2> /dev/null ) " ]; then
29
29
cp -v ./nginx-start-hook/* " ${NGINX_CONTAINER_SCRIPTS_PATH} /nginx-start-hook/"
30
30
rm -rf ./nginx-start-hook
31
31
fi
Original file line number Diff line number Diff line change 25
25
26
26
if [ -d ./nginx-start-hook ]; then
27
27
echo " ---> Copying nginx start-hook scripts..."
28
- if [ " $( ls -A ./nginx-start-hook/* ) " ]; then
28
+ if [ " $( ls -A ./nginx-start-hook/* 2> /dev/null ) " ]; then
29
29
cp -v ./nginx-start-hook/* " ${NGINX_CONTAINER_SCRIPTS_PATH} /nginx-start-hook/"
30
30
rm -rf ./nginx-start-hook
31
31
fi
Original file line number Diff line number Diff line change 25
25
26
26
if [ -d ./nginx-start-hook ]; then
27
27
echo " ---> Copying nginx start-hook scripts..."
28
- if [ " $( ls -A ./nginx-start-hook/* ) " ]; then
28
+ if [ " $( ls -A ./nginx-start-hook/* 2> /dev/null ) " ]; then
29
29
cp -v ./nginx-start-hook/* " ${NGINX_CONTAINER_SCRIPTS_PATH} /nginx-start-hook/"
30
30
rm -rf ./nginx-start-hook
31
31
fi
You can’t perform that action at this time.
0 commit comments