diff options
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/zpool/zpool_vdev.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/zpool/zpool_vdev.c b/cmd/zpool/zpool_vdev.c index 5134553a5..7ea9d7420 100644 --- a/cmd/zpool/zpool_vdev.c +++ b/cmd/zpool/zpool_vdev.c @@ -1286,7 +1286,7 @@ make_disks(zpool_handle_t *zhp, nvlist_t *nv) * symbolic link will be removed, partition table created, * and then block until udev creates the new link. */ - if (!is_exclusive || !is_spare(NULL, udevpath)) { + if (!is_exclusive && !is_spare(NULL, udevpath)) { char *devnode = strrchr(devpath, '/') + 1; ret = strncmp(udevpath, UDISK_ROOT, strlen(UDISK_ROOT)); |