@@ -75,7 +75,7 @@ ghe_restore_check() {
75
75
if [ -h $GHE_RESTORE_IN_PROGRESS ]; then
76
76
echo " Error: detected a restore already in progress from a previous version of ghe-restore." 1>&2
77
77
echo " If there is no restore in progress anymore, please remove" 1>&2
78
- echo " the \" $GHE_RESTORE_IN_PROGRESS \" file and try again." 1>&2
78
+ echo " the $GHE_RESTORE_IN_PROGRESS file and try again." 1>&2
79
79
exit 1
80
80
fi
81
81
@@ -85,7 +85,7 @@ ghe_restore_check() {
85
85
pid=$( echo " $progress " | cut -d ' ' -f 2)
86
86
echo " Error: A restore of $GHE_HOSTNAME may still be running on PID $pid ." 1>&2
87
87
echo " If PID $pid is not a process related to the restore utilities, please remove" 1>&2
88
- echo " the \" $GHE_RESTORE_IN_PROGRESS \" file and try again." 1>&2
88
+ echo " the $GHE_RESTORE_IN_PROGRESS file and try again." 1>&2
89
89
exit 1
90
90
fi
91
91
}
@@ -94,7 +94,7 @@ ghe_backup_check() {
94
94
if [ -h $GHE_BACKUP_IN_PROGRESS ]; then
95
95
echo " Error: detected a backup already in progress from a previous version of ghe-backup." 1>&2
96
96
echo " If there is no backup in progress anymore, please remove" 1>&2
97
- echo " the \" $GHE_DATA_DIR /i $GHE_BACKUP_IN_PROGRESS \" file and try again." 1>&2
97
+ echo " the $GHE_DATA_DIR /$GHE_BACKUP_IN_PROGRESS file and try again." 1>&2
98
98
exit 1
99
99
fi
100
100
@@ -104,23 +104,21 @@ ghe_backup_check() {
104
104
pid=$( echo " $progress " | cut -d ' ' -f 2)
105
105
echo " Error: A backup of $GHE_HOSTNAME may still be running on PID $pid ." 1>&2
106
106
echo " If PID $pid is not a process related to the backup utilities, please remove" 1>&2
107
- echo " the \" $GHE_BACKUP_IN_PROGRESS \" file and try again." 1>&2
107
+ echo " the $GHE_BACKUP_IN_PROGRESS file and try again." 1>&2
108
108
exit 1
109
109
fi
110
110
}
111
111
112
112
ghe_restore_finished () {
113
- echo " $GHE_RESTORE_IN_PROGRESS "
114
- if [ -f $GHE_RESTORE_IN_PROGRESS ]; then
115
- echo " $GHE_RESTORE_IN_PROGRESS exists!" 1>&2
116
- rm -f $GHE_RESTORE_IN_PROGRESS
117
- fi
113
+ if [ -f $GHE_RESTORE_IN_PROGRESS ]; then
114
+ rm -f $GHE_RESTORE_IN_PROGRESS
115
+ fi
118
116
}
119
117
120
118
ghe_backup_finished () {
121
- if [ -f $GHE_BACKUP_IN_PROGRESS ]; then
122
- rm -f $GHE_BACKUP_IN_PROGRESS
123
- fi
119
+ if [ -f $GHE_BACKUP_IN_PROGRESS ]; then
120
+ rm -f $GHE_BACKUP_IN_PROGRESS
121
+ fi
124
122
}
125
123
126
124
ghe_parallel_check () {
0 commit comments