fix: typo en la comprobación #36
This commit is contained in:
parent
6a465a1fa4
commit
9bd12bc8fd
2
haini.sh
2
haini.sh
|
@ -227,7 +227,7 @@ actualizar() {
|
|||
if ping -q -c 1 0xacab.org; then
|
||||
git -C "$DIR" pull --ff-only
|
||||
|
||||
if test "$DIR/.git/FETCH_HEAD" -o "$DIR/.git/ORIG_HEAD"; then
|
||||
if test "$DIR/.git/FETCH_HEAD" -ot "$DIR/.git/ORIG_HEAD"; then
|
||||
echo "haini.sh se actualizó, por favor volvé a ejecutar el comando" >&2
|
||||
exit 0
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue