You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by do...@apache.org on 2009/04/18 07:36:06 UTC

svn commit: r766218 - /ofbiz/trunk/debian/ofbiz-framework.postinst

Author: doogie
Date: Sat Apr 18 05:36:06 2009
New Revision: 766218

URL: http://svn.apache.org/viewvc?rev=766218&view=rev
Log:
Redirect dd output to /dev/null.

Modified:
    ofbiz/trunk/debian/ofbiz-framework.postinst

Modified: ofbiz/trunk/debian/ofbiz-framework.postinst
URL: http://svn.apache.org/viewvc/ofbiz/trunk/debian/ofbiz-framework.postinst?rev=766218&r1=766217&r2=766218&view=diff
==============================================================================
--- ofbiz/trunk/debian/ofbiz-framework.postinst (original)
+++ ofbiz/trunk/debian/ofbiz-framework.postinst Sat Apr 18 05:36:06 2009
@@ -125,7 +125,7 @@
 		chars=""
 		while :; do
 			needed_length=$((${length} - ${#chars}))
-			chars="$chars$(dd if=/dev/urandom count="${needed_length}" bs=1 | sed -n -e 's/[^[:alnum:]]//g;p;q')"
+			chars="$chars$(dd if=/dev/urandom count="${needed_length}" bs=1 2>/dev/null | sed -n -e 's/[^[:alnum:]]//g;p;q')"
 			if [ "${#chars}" -ge "$length" ]; then
 				break
 			fi