Skip to content

Commit

Permalink
ack shellcheck warning
Browse files Browse the repository at this point in the history
  • Loading branch information
ezrizhu committed Jan 10, 2024
1 parent 882ef00 commit 5866b31
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions try
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ try() {
## Only make the directory if the original is a directory too
if [ -d "$mountpoint" ]
then
# shellcheck disable=SC2174 # warning acknowledged, "When used with -p, -m only applies to the deepest directory."
mkdir -m "$(stat -c %a "$mountpoint")" -p "${SANDBOX_DIR}/upperdir/${mountpoint}" "${SANDBOX_DIR}/workdir/${mountpoint}" "${SANDBOX_DIR}/temproot/${mountpoint}"
fi
done <"$DIRS_AND_MOUNTS"
Expand Down

0 comments on commit 5866b31

Please sign in to comment.