Prawn 2451a55368
zfs -V: Print userland version even if kernel module not loaded
Running zfs -V when the modules are not loaded would currently 
result in the following output:

    zfs_version_kernel() failed: No such file or directory

Note the lack of userland version output.  Reorder the code to
ensure the userland version is printed even when the kmods
are not loaded.

Reviewed-by: George Melikov <mail@gmelikov.ru>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: InsanePrawn <insane.prawny@gmail.com>
Closes #10483
2020-06-22 09:56:29 -07:00
..
2020-06-18 12:21:25 -07:00
2014-08-28 07:59:43 -07:00
2020-06-09 21:24:09 -07:00
2020-06-18 12:21:32 -07:00
2020-04-10 10:33:35 -07:00
2020-06-18 12:20:38 -07:00
2020-06-18 12:20:38 -07:00
2020-06-18 12:20:38 -07:00
2020-06-18 12:21:32 -07:00
2020-04-14 11:36:28 -07:00
2019-09-02 17:53:27 -07:00