We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ce18c08 commit c20787aCopy full SHA for c20787a
src/nixos-anywhere.sh
@@ -510,7 +510,7 @@ if [ ${copy_host_keys-n} = "y" ]; then
510
done
511
fi
512
nixos-install --no-root-passwd --no-channel-copy --system "$nixos_system"
513
-if command -v zpool >/dev/null; then
+if command -v zpool >/dev/null && [ "\$(zpool list)" != "no pools available" ]; then
514
# we always want to export the zfs pools so people can boot from it without force import
515
umount -Rv /mnt/
516
zpool export -a || true
0 commit comments