fix: no mostrar la salida del ping

relacionado con #28
This commit is contained in:
f 2022-10-29 18:25:22 -03:00
parent 9bd12bc8fd
commit 8698a22f0a

View file

@ -224,7 +224,7 @@ actualizar() {
fi fi
echo -n "Actualizando haini.sh... " >&2 echo -n "Actualizando haini.sh... " >&2
if ping -q -c 1 0xacab.org; then if ping -q -c 1 0xacab.org >/dev/null 2>&1; then
git -C "$DIR" pull --ff-only git -C "$DIR" pull --ff-only
if test "$DIR/.git/FETCH_HEAD" -ot "$DIR/.git/ORIG_HEAD"; then if test "$DIR/.git/FETCH_HEAD" -ot "$DIR/.git/ORIG_HEAD"; then