Skip to content

Commit

Permalink
fixed bug where new keysource could not be specified on key rewrap
Browse files Browse the repository at this point in the history
  • Loading branch information
Tom Caputi committed Feb 16, 2016
1 parent 5d7383c commit f702c83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/libzfs/libzfs_crypto.c
Original file line number Diff line number Diff line change
Expand Up @@ -813,7 +813,7 @@ zfs_crypto_rewrap(zfs_handle_t *zhp, nvlist_t *props)
goto error;
}
keysource = prop_keysource;
} else {
} else if (ret) {
zfs_error_aux(zhp->zfs_hdl, dgettext(TEXT_DOMAIN,
"Failed to find keysource."));
ret = EIO;
Expand Down

0 comments on commit f702c83

Please sign in to comment.