0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-13 21:50:33 +03:00

zfs: Support zfs_force=y on the command line as well.

This commit is contained in:
Will Fancher 2022-05-04 18:32:27 -04:00
parent e0b5ba5479
commit f989e13983

View file

@ -60,7 +60,7 @@ let
importLib = {zpoolCmd, awkCmd, cfgZfs}: ''
for o in $(cat /proc/cmdline); do
case $o in
zfs_force|zfs_force=1)
zfs_force|zfs_force=1|zfs_force=y)
ZFS_FORCE="-f"
;;
esac