File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -141,7 +141,6 @@ echo "$GHE_SNAPSHOT_TIMESTAMP $$" > ../in-progress
141
141
142
142
START_TIME=$( date +%s)
143
143
echo ' Start time:' $START_TIME
144
-
145
144
echo " Starting backup of $GHE_HOSTNAME with backup-utils v$BACKUP_UTILS_VERSION in snapshot $GHE_SNAPSHOT_TIMESTAMP "
146
145
147
146
# Perform a host connection check and establish the remote appliance version.
@@ -257,6 +256,10 @@ if [ -z "$failures" ]; then
257
256
ghe-prune-snapshots
258
257
fi
259
258
259
+ END_TIME=$( date +%s)
260
+ echo ' End time:' $END_TIME
261
+ echo ' Runtime:' $(( $END_TIME - $START_TIME )) ' seconds'
262
+
260
263
echo " Completed backup of $GHE_HOSTNAME in snapshot $GHE_SNAPSHOT_TIMESTAMP at $( date +" %H:%M:%S" ) "
261
264
262
265
# Exit non-zero and list the steps that failed.
273
276
echo " Checking for leaked ssh keys ..."
274
277
ghe-detect-leaked-ssh-keys -s " $GHE_SNAPSHOT_DIR " || true
275
278
276
- END_TIME=$( date +%s)
277
- echo ' End time:' $END_TIME
278
- echo ' Runtime:' $(( $END_TIME - $START_TIME )) ' seconds'
279
-
280
279
# Make sure we exit zero after the conditional
281
280
true
You can’t perform that action at this time.
0 commit comments