[Mageia-sysadm] [651] print the error on stderr so the user can see it

root at mageia.org root at mageia.org
Tue Dec 21 20:36:10 CET 2010


Revision: 651
Author:   boklm
Date:     2010-12-21 20:36:10 +0100 (Tue, 21 Dec 2010)
Log Message:
-----------
print the error on stderr so the user can see it

Modified Paths:
--------------
    puppet/modules/subversion/templates/no_binary

Modified: puppet/modules/subversion/templates/no_binary
===================================================================
--- puppet/modules/subversion/templates/no_binary	2010-12-21 19:20:24 UTC (rev 650)
+++ puppet/modules/subversion/templates/no_binary	2010-12-21 19:36:10 UTC (rev 651)
@@ -8,7 +8,7 @@
 # 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
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/mageia-sysadm/attachments/20101221/b857f78f/attachment.html>


More information about the Mageia-sysadm mailing list