From 8698a22f0a22f3ef8155802e71adb7055a3467ac Mon Sep 17 00:00:00 2001 From: f Date: Sat, 29 Oct 2022 18:25:22 -0300 Subject: [PATCH] fix: no mostrar la salida del ping relacionado con #28 --- haini.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/haini.sh b/haini.sh index 703cfb9..b51c7f1 100755 --- a/haini.sh +++ b/haini.sh @@ -224,7 +224,7 @@ actualizar() { fi 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 if test "$DIR/.git/FETCH_HEAD" -ot "$DIR/.git/ORIG_HEAD"; then