From 326086b812f8a53ed491b279fc14395dd2453bbd Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Thu, 25 Apr 2013 15:58:46 +0200 Subject: [PATCH] That change was wrong --- modules/roles/files/static-mirroring/static-update-component | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/roles/files/static-mirroring/static-update-component b/modules/roles/files/static-mirroring/static-update-component index 7e8475455..d2abf22d1 100755 --- a/modules/roles/files/static-mirroring/static-update-component +++ b/modules/roles/files/static-mirroring/static-update-component @@ -72,7 +72,7 @@ if [ "$srchost" = "$thishost" ] && ! [ -d "$srcdir" ]; then exit 1 fi -if [ "`id -nu`" != "staticsync" ] && [ "$masterhost" = "`hostname -f`" ]; then +if [ "`id -nu`" != "staticsync" ]; then static-update-component "$@" else ssh -o AddressFamily=inet -t -o ServerAliveInterval=300 -o PreferredAuthentications=publickey "$masterhost" static-master-update-component "$component" -- 2.20.1