Move script_start to very first line

This commit is contained in:
Michael Stanclift 2020-06-02 10:44:16 -05:00
parent 5ba9da0f3b
commit be5afa2d7b
2 changed files with 2 additions and 1 deletions

View File

@ -15,6 +15,7 @@
- `config` function will attempt to ping remote host to validate network connection, can by bypassed by adding `PING_AVOID='1'` to your `gravity-sync.conf` file.
- Changes some [INFO] messages to [WARN] where approprate
- Adds aliases for more GS functions
- Shows current version on each script execution
#### 1.7.6
- Detects `dbclient` install as alternative to OpenSSH Client.

View File

@ -1,4 +1,5 @@
#!/bin/bash
SCRIPT_START=$SECONDS
# GRAVITY SYNC BY VMSTAN #####################
PROGRAM='Gravity Sync'
@ -1284,7 +1285,6 @@ function echo_need {
}
# SCRIPT EXECUTION ###########################
SCRIPT_START=$SECONDS
MESSAGE="${PROGRAM} ${VERSION} Executing"
echo_info