zfsonlinux/zfs — pull request #2196 by evansus (2014-03-20 20:22:59+00:00)
Title: Correct autodetection of bootfs property

Remove lines that contain only a hyphen (match '^-$' instead of '-').

I had a root fs with a hyphen in the name (fedora/ROOT/Fedora20-Dev), it was not detected because sed eliminated that line of output from 'zpool list -Ho bootfs'.