git-am.sh: fix initialization of the threeway variable
[gitweb.git] / t / t7701-repack-unpack-unreachable.sh
index aad8a9c64dda7c0886a40343f07411a90977a37d..b66e3838665ea47d748a7e1a64facd755ee32fb8 100755 (executable)
@@ -57,7 +57,7 @@ compare_mtimes ()
 {
        read tref rest &&
        while read t rest; do
-               test "$tref" = "$t" || break
+               test "$tref" = "$t" || return 1
        done
 }