Skip to content

Commit

Permalink
Merge pull request #4 from linuxserver/ignore-empty
Browse files Browse the repository at this point in the history
  • Loading branch information
thespad authored Dec 5, 2024
2 parents 15ec3c2 + fa34c19 commit f89f919
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion root/etc/s6-overlay/s6-rc.d/init-d2-config/run
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,9 @@ while [[ ${BASEIMAGENAME} =~ "baseimage" ]]; do
done

for i in /tmp/*; do
cp -R "${i}/root" "/work/merge"
if [[ -d "${i}/root" ]];then
cp -R "${i}/root" "/work/merge"
fi
done

shopt -s globstar
Expand Down

0 comments on commit f89f919

Please sign in to comment.