zfs/etc
TerraTech a0cc3726ed zfs-functions.in: is_mounted() always returns 1
The 'while read line; ...; done' loop is run in a piped subshell 
therefore the 'return 0' would not cause a return from the 
is_mounted() function.  In all cases, this function will 
always return 1.

The fix is to 'return 1' from the subshell on a successful match 
(no match == return 0), and then negating the final return value.

Reviewed-by: George Melikov <mail@gmelikov.ru>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: TerraTech <TerraTech@users.noreply.github.com>
Closes #8151
2018-12-04 09:57:29 -08:00
..
init.d zfs-functions.in: is_mounted() always returns 1 2018-12-04 09:57:29 -08:00
modules-load.d Add kernel module auto-loading 2018-03-13 10:45:55 -07:00
sudoers.d zpool iostat/status -c improvements 2017-06-05 10:52:15 -07:00
systemd Minor documentation, logging, and testing typos 2018-06-07 09:38:39 -07:00
zfs vdev_id: extension for new scsi topology 2017-09-27 10:39:47 -07:00
Makefile.am zpool iostat/status -c improvements 2017-06-05 10:52:15 -07:00