Skip to content

Commit 247a804

Browse files
authored
Merge pull request #240 from github/chuckp22/update-mkdir-flg
Updated mkdir to use -p to be consistent with GHE*DIR
2 parents 81737a1 + 206c5d8 commit 247a804

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/ghe-backup

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ touch "incomplete"
6363
# Exit early if the snapshot filesystem doesn't support hard links, symlinks and
6464
# if rsync doesn't support hardlinking of dangling symlinks
6565
trap 'rm -rf src dest1 dest2' EXIT
66-
mkdir src
66+
mkdir -p src
6767
touch src/testfile
6868
if ! ln -s /data/does/not/exist/hooks/ src/ >/dev/null 2>&1; then
6969
echo "Error: the filesystem containing $GHE_DATA_DIR does not support symbolic links." 1>&2

0 commit comments

Comments
 (0)