and fix output fd for the error message
Peter Palfrader

Peter Palfrader commited on 2012-02-17 18:17:51
Zeige 1 geänderte Dateien mit 1 Einfügungen und 1 Löschungen.

... ...
@@ -35,7 +35,7 @@ echo "Forcing mirror update"
35 35
 ssh www-master.torproject.org '
36 36
 	(
37 37
 	 find /srv/www-master.torproject.org/htdocs ! -perm -444 -print0 | xargs -0 --no-run-if-empty chmod -v a+r ||
38
-	 ( echo 2>&1 "There are unreadable files in /srv/www-master.torproject.org/htdocs, not triggering mirror run."; exit 1)
38
+	 ( echo >&2 "There are unreadable files in /srv/www-master.torproject.org/htdocs, not triggering mirror run."; exit 1)
39 39
 	) &&
40 40
 	echo "Triggering mirror run" &&
41 41
 	/home/mirroradm/bin/trigger-mirrors'
42 42