This commit is contained in:
Eric A. Borisch 2024-08-04 11:03:07 +02:00 committed by GitHub
commit 2e065cdfbe
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 8 additions and 4 deletions

View File

@ -4282,10 +4282,14 @@ zfs_setup_cmdline_props(libzfs_handle_t *hdl, zfs_type_t type,
*/
if (!zfs_prop_valid_for_type(prop, type, B_FALSE) &&
!zfs_prop_user(name)) {
(void) fprintf(stderr, dgettext(TEXT_DOMAIN,
"Warning: %s: property '%s' does not "
"apply to datasets of this type\n"),
fsname, name);
/*
* These are non-user properties that are not
* supported for this particular type of
* destination. These could not have been set
* on the source, so there is no reason to
* complain about eliding them (-x) during the
* receive.
*/
continue;
}
/*