mirror of
https://github.com/vmstan/gravity-sync.git
synced 2024-08-30 18:22:11 +00:00
Update gravity-sync.sh
This commit is contained in:
parent
3fe4af6bab
commit
7566415c14
@ -361,9 +361,8 @@ function exit_nochange {
|
||||
|
||||
## Changes Made
|
||||
function exit_withchange {
|
||||
SCRIPT_END='date +%s'
|
||||
SCRIPT_RUNTIME=$((SCRIPT_END-SCRIPT_START))
|
||||
echo -e "${INFO} ${PROGRAM} ${TASKTYPE} Completed in ${SCRIPT_RUNTIME}"
|
||||
SCRIPT_END=$SECONDS
|
||||
echo -e "${INFO} ${PROGRAM} ${TASKTYPE} Completed in $((SCRIPT_END-SCRIPT_START)) seconds"
|
||||
exit 0
|
||||
}
|
||||
|
||||
@ -407,7 +406,7 @@ function md5_compare {
|
||||
}
|
||||
|
||||
# SCRIPT EXECUTION ###########################
|
||||
SCRIPT_START='date +%s'
|
||||
SCRIPT_START=$SECONDS
|
||||
|
||||
MESSAGE="Evaluating Script Arguments"
|
||||
echo -en "${STAT} ${MESSAGE}"
|
||||
|
Loading…
Reference in New Issue
Block a user