Skip to content

Commit a4c7aba

Browse files
committed
make temp dir
1 parent 9158ebf commit a4c7aba

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

share/github-backup-utils/ghe-restore-mysql

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ if $CLUSTER ; then
4444
if [ -z $ghe_mysql_master ]; then
4545
ghe_mysql_master=$GHE_HOSTNAME
4646
else
47+
tempdir=$(mktemp -d -t backup-utils-restore-XXXXXX)
4748
ssh_config_file="$tempdir/ssh_config"
4849
ssh_config_file_opt="-F $ssh_config_file"
4950
opts="$opts -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o PasswordAuthentication=no"

0 commit comments

Comments
 (0)