Imported Upstream version 2.4.0
[platform/upstream/git.git] / t / perf / perf-lib.sh
index a8c9574..5cf74ed 100644 (file)
@@ -91,7 +91,7 @@ test_perf_create_repo_from () {
                                */objects|*/hooks|*/config)
                                        ;;
                                *)
-                                       cp -R "$stuff" . || break
+                                       cp -R "$stuff" . || exit 1
                                        ;;
                        esac
                done &&