Skip to content

Commit d4d490f

Browse files
authored
Merge branch 'enterprise-3.10-release' into enterprise-3.10-backport-568-543-workflow-build-release-part-2
2 parents f962e10 + 4b06240 commit d4d490f

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

share/github-backup-utils/ghe-backup-config

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -654,14 +654,15 @@ restore-secret() {
654654
init-progress() {
655655
if [ -d /tmp/backup-utils-progress ]; then
656656
rm -rf /tmp/backup-utils-progress/*
657-
else
658-
mkdir /tmp/backup-utils-progress
659657
fi
658+
659+
mkdir -p /tmp/backup-utils-progress
660+
chmod -R 777 /tmp/backup-utils-progress
661+
660662
touch /tmp/backup-utils-progress/total
661663
touch /tmp/backup-utils-progress/type
662664
touch /tmp/backup-utils-progress/progress
663665
touch /tmp/backup-utils-progress/info
664-
chmod -R 777 /tmp/backup-utils-progress
665666
}
666667

667668

0 commit comments

Comments
 (0)