Fix typos.

PR:		246132
Submitted by:	Armin Gruner <ailto:ag-freebsd@muc.de>
This commit is contained in:
Cy Schubert 2020-05-03 13:28:52 +00:00
parent ac6f61194f
commit c4a70c4123
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=533781
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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 {