From f03f0faaa7b240c1f8748223c783f142ae91588d Mon Sep 17 00:00:00 2001 From: Nicolas Vigier Date: Tue, 21 Dec 2010 19:36:10 +0000 Subject: print the error on stderr so the user can see it --- modules/subversion/templates/no_binary | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/subversion/templates') diff --git a/modules/subversion/templates/no_binary b/modules/subversion/templates/no_binary index 5787eae7..a7f2eb94 100644 --- a/modules/subversion/templates/no_binary +++ b/modules/subversion/templates/no_binary @@ -8,7 +8,7 @@ TXN="$2" # here to avoid simple mistakes if svnlook changed -t "$TXN" "$REP" | grep -qi '\.\(gz\|bz2\|xz\|lzma\|Z\|7z\|tar\|tgz\|zip\|jpg\|gif\|png\|ogg\|mp3\|wav\|rar\|pdf\)$' then - echo 'no binary files allowed on this repository' + echo 'no binary files allowed on this repository' >&2 exit 1 fi -- cgit v1.2.1