|
90 |
local src="$remote_login:$SYSVOL_PATH" |
90 |
local src="$remote_login:$SYSVOL_PATH" |
91 |
need_sync="$(univention-ssh-rsync /etc/machine.secret \ |
91 |
need_sync="$(univention-ssh-rsync /etc/machine.secret \ |
92 |
--dry-run -v "${rsync_options[@]}" \ |
92 |
--dry-run -v "${rsync_options[@]}" \ |
93 |
"$src"/ "$dst" 2>&1 \ |
93 |
"$src"/ "$dst" 2>/dev/null \ |
94 |
| sed '1,/^receiving incremental file list$/d;' | head --lines=-3)" |
94 |
| tail --lines=+2 | head --lines=-3)" |
95 |
|
95 |
|
96 |
if [ -z "$need_sync" ]; then |
96 |
if [ -z "$need_sync" ]; then |
97 |
return 1 |
97 |
return 1 |