diff --git a/CHANGELIST b/CHANGELIST index 0357c0e..ad3378c 100644 --- a/CHANGELIST +++ b/CHANGELIST @@ -1,4 +1,5 @@ 1.4.3 added SSH persistence to syncoid - using socket speeds up SSH overhead 300%! =) + one extra commit to get rid of the "Exit request sent." SSH noise at the end. 1.4.2 removed -r flag for zfs destroy of pruned snapshots in sanoid, which unintentionally caused same-name child snapshots to be deleted - thank you Lenz Weber! diff --git a/syncoid b/syncoid index 632acda..a0a3d20 100755 --- a/syncoid +++ b/syncoid @@ -70,11 +70,11 @@ if (! $args{'recursive'}) { # close SSH sockets for master connections as applicable if ($sourcehost ne '') { - open FH, "$sshcmd $sourcehost -O exit |"; + open FH, "$sshcmd $sourcehost -O exit 2>&1 |"; close FH; } if ($targethost ne '') { - open FH, "$sshcmd $targethost -O exit |"; + open FH, "$sshcmd $targethost -O exit 2>&1 |"; close FH; }