diff --git a/setup.sh b/setup.sh index a04fe11..56c04be 100644 --- a/setup.sh +++ b/setup.sh @@ -190,7 +190,7 @@ function export_pool () { function setup_zpool () { declare zpool_drive drive_by_id zpool_drive="${1:?}" - drive_by_id="$(zpool_drive_id "${zpool_drive}")" + drive_by_id="$(get_drive_id "${zpool_drive}")" set_zpool_password if no_zpool_exists; then