3
0
Fork 0
forked from mirrors/nixpkgs

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