Could /usr/lib/zfs-linux/scrub not just give the full path to zpool instead? Then PATH wouldn't need modifying at all.
Could /usr/lib/ zfs-linux/ scrub not just give the full path to zpool instead? Then PATH wouldn't need modifying at all.