mirror of https://github.com/jimsalterjrs/sanoid
Fix 'resume support' detection on FreeBSD
This commit is contained in:
parent
6ba96f9949
commit
75d8174e69
2
syncoid
2
syncoid
|
|
@ -614,7 +614,7 @@ sub checkcommands {
|
|||
|
||||
# check for ZFS resume feature support
|
||||
if ($resume) {
|
||||
my $resumechkcmd = "$zfscmd get receive_resume_token -d 0";
|
||||
my $resumechkcmd = "$zfscmd get -d 0 receive_resume_token";
|
||||
|
||||
if ($debug) { print "DEBUG: checking availability of zfs resume feature on source...\n"; }
|
||||
$avail{'sourceresume'} = system("$sourcessh $resumechkcmd >/dev/null 2>&1");
|
||||
|
|
|
|||
Loading…
Reference in New Issue