]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
Avaoid printing of error messages if base64 conversion can't be done.
authorMichael Tremer <michael.tremer@ipfire.org>
Sun, 2 Nov 2008 21:17:31 +0000 (21:17 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Sun, 2 Nov 2008 21:17:31 +0000 (21:17 +0000)
tools/make-buildspy

index 8a0d0548d3ad0955b498ca2841e65a11c7cca5e0..37820f0199644c6806e6308c0fb2ab4913973980 100755 (executable)
@@ -35,7 +35,7 @@ build_spy_send_profile() {
 }
 
 build_spy_escape() {
-       base64 || perl -MMIME::Base64 -0777 -ne 'print encode_base64($_)'
+       base64 2>/dev/null || perl -MMIME::Base64 -0777 -ne 'print encode_base64($_)' 2>/dev/null
 }
 
 if [ "$(basename $0)" == "make-buildspy" ]; then