Merge pull request #243 from pit3k/fix-resume-on-freebsd

Fix 'resume support' detection on FreeBSD
This commit is contained in:
Jim Salter 2018-07-17 21:55:14 -04:00 committed by GitHub
commit 4b32d46ac4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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");