From: Peter Palfrader Date: Fri, 26 Apr 2013 12:11:42 +0000 (+0200) Subject: fix II X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=9c77052c0952b953c45ba10e90a7c11b2646777f;p=mirror%2Fdsa-puppet.git fix II --- diff --git a/modules/roles/files/static-mirroring/static-mirror-ssh-wrap b/modules/roles/files/static-mirroring/static-mirror-ssh-wrap index 45106cc69..ad03c08e9 100755 --- a/modules/roles/files/static-mirroring/static-mirror-ssh-wrap +++ b/modules/roles/files/static-mirroring/static-mirror-ssh-wrap @@ -68,7 +68,7 @@ do_mirror() { masterhost="$(awk -v component="$component" '$2 == component {print $1; exit}' "$COMPONENTLIST")" if [ -z "$masterhost" ]; then croak "Did not find master for component $component." - elif [ "$msterhost" != "$remote_host" ]; then + elif [ "$masterhost" != "$remote_host" ]; then croak "$remote_host is not master for $component." else info "Host $remote_host triggered a mirror run for $component, serial $serial"