diff --git a/src/node_modules/zfs.js b/src/node_modules/zfs.js index 7114d3faf..00f5bbb1a 100644 --- a/src/node_modules/zfs.js +++ b/src/node_modules/zfs.js @@ -5,7 +5,7 @@ */ /* - * Copyright 2021 Joyent, Inc. + * Copyright 2022 Joyent, Inc. */ /* @@ -173,7 +173,7 @@ zpool.create = function (pool, config, force, encrypt, efi, callback) { if (encrypt === true) { cmd = exports.paths.kbmadm; - args = [ 'create-zpool' ]; + args = [ 'create-zpool', '--' ]; } else { cmd = exports.paths.zpool; args = [ 'create' ];