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
217efbfb8b
commit
b0b978ff5d
@ -133,7 +133,7 @@ function pull_gs {
|
||||
|
||||
MESSAGE="Validating Ownership on ${GRAVITY_FI}"
|
||||
echo -en "${STAT} ${MESSAGE}"
|
||||
GRAVDB_OWN=$(ls -ld ${PIHOLE_DIR}/${GRAVITY_FI} | awk '{print $3}')
|
||||
GRAVDB_OWN=$(ls -ld ${PIHOLE_DIR}/${GRAVITY_FI} | awk '\{print $3\}')
|
||||
if $GRAVDB_OWN = 'pihole'
|
||||
then
|
||||
echo -e "\r${GOOD} ${MESSAGE}"
|
||||
|
Loading…
Reference in New Issue
Block a user