Update offsite-power-check.sh

This commit is contained in:
2023-11-08 09:06:28 -06:00
parent 631312cdb3
commit eec18ad6fe

View File

@@ -166,7 +166,6 @@ case $1 in
start) PWO_START &;;
stop) PWO_STOP;;
restart) PWO_RESTART;;
logrotate) LOGROTATE;;
update)
cd ${PW_FOLDER}
if [ "`git log --pretty=%H ...refs/heads/master^ | head -n 1`" != "`git ls-remote origin -h refs/heads/master |cut -f1`" ]; then