Skip to content

Commit 713a5ab

Browse files
committed
fix bm error
1 parent 6e97556 commit 713a5ab

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

bin/ghe-restore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -404,7 +404,9 @@ if $CLUSTER; then
404404
log_warn "Failed to stop github-timerd on one or more nodes" 1>&3
405405
fi
406406
fi
407+
bm_end "$(basename $0) - Stopping cron and github-timerd on cluster"
407408
else
409+
bm_start "$(basename $0) - Stopping cron and github-timerd"
408410
if ! ghe-ssh "$GHE_HOSTNAME" -- "sudo service cron stop"; then
409411
log_warn "Failed to stop cron" 1>&3
410412
fi
@@ -420,7 +422,7 @@ else
420422
log_warn "Failed to stop github-timerd" 1>&3
421423
fi
422424
fi
423-
bm_end "$(basename $0) - Stopping cron and github-timerd on cluster"
425+
bm_end "$(basename $0) - Stopping cron and github-timerd on"
424426
fi
425427
CRON_RUNNING=false
426428

0 commit comments

Comments
 (0)