Fix typos.
PR: 246132 Submitted by: Armin Gruner <ailto:ag-freebsd@muc.de>
This commit is contained in:
parent
ac6f61194f
commit
c4a70c4123
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=533781
@ -21,7 +21,7 @@ LICENSE= BSD3CLAUSE
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||
|
||||
OPTIONS_DEFINE= LOCAL BETTER_COMPRESSION
|
||||
LOCAL_DESC= Avoid ssh for localhoost backup
|
||||
LOCAL_DESC= Avoid ssh for localhost backup
|
||||
BETTER_COMPRESSION_DESC= Allow different compressions for snapshots
|
||||
|
||||
LOCAL_EXTRA_PATCHES= ${PATCHDIR}/opt-localhost.in
|
||||
|
@ -26,7 +26,7 @@
|
||||
+ my $cp = config_get($host, 'compressionprogram');
|
||||
+ if ($cp ne "xz" && $cp ne "bzip2" && $cp ne "gzip" && $cp ne "") {
|
||||
+ die "zfs_full_backup: unsupported compression program specified\n";
|
||||
+ } else ($cp eq "") {
|
||||
+ } elsif ($cp eq "") {
|
||||
+ $cp = "gzip";
|
||||
+ my $cl = 1;
|
||||
+ } else {
|
||||
|
Loading…
Reference in New Issue
Block a user