MFC r297520: zfs receive: -u can be ignored sometimes

PR:		204705
This commit is contained in:
avg 2016-04-19 12:14:15 +00:00
parent ba53aa0560
commit d59220bdf7

View File

@ -3479,7 +3479,8 @@ zfs_receive_one(libzfs_handle_t *hdl, int infd, const char *tosnap,
}
if (clp) {
err |= changelist_postfix(clp);
if (!flags->nomount)
err |= changelist_postfix(clp);
changelist_free(clp);
}