[tor-commits] r25448: {website} and fix output fd for the error message (website/trunk)

Peter Palfrader peter at palfrader.org
Fri Feb 17 17:17:51 UTC 2012


Author: weasel
Date: 2012-02-17 17:17:51 +0000 (Fri, 17 Feb 2012)
New Revision: 25448

Modified:
   website/trunk/publish
Log:
and fix output fd for the error message

Modified: website/trunk/publish
===================================================================
--- website/trunk/publish	2012-02-17 17:15:47 UTC (rev 25447)
+++ website/trunk/publish	2012-02-17 17:17:51 UTC (rev 25448)
@@ -35,7 +35,7 @@
 ssh www-master.torproject.org '
 	(
 	 find /srv/www-master.torproject.org/htdocs ! -perm -444 -print0 | xargs -0 --no-run-if-empty chmod -v a+r ||
-	 ( echo 2>&1 "There are unreadable files in /srv/www-master.torproject.org/htdocs, not triggering mirror run."; exit 1)
+	 ( echo >&2 "There are unreadable files in /srv/www-master.torproject.org/htdocs, not triggering mirror run."; exit 1)
 	) &&
 	echo "Triggering mirror run" &&
 	/home/mirroradm/bin/trigger-mirrors'



More information about the tor-commits mailing list