diff --git a/scripts/repository/binary_safe_diff.sh b/scripts/repository/binary_safe_diff.sh index b51d31a6..00b02680 100755 --- a/scripts/repository/binary_safe_diff.sh +++ b/scripts/repository/binary_safe_diff.sh @@ -1,8 +1,3 @@ #!/bin/sh -diff "$@" -RES="$?" -if [ "$RES" = "2" ]; then - exit 1 -fi -exit "$RES" +diff "$@" || exit 1