Be sure that the discovered filesystem is not null.
authorMarco Amadori <marco.amadori@gmail.com>
Wed, 6 Aug 2008 22:07:57 +0000 (00:07 +0200)
committerMarco Amadori <marco.amadori@gmail.com>
Wed, 6 Aug 2008 22:14:53 +0000 (00:14 +0200)
commit26efb1a6c76203557ce21b51e4fb39d127cd4e88
treeb6e3259a71cb800da20918ad5dd786c9a94f9008
parent2966454509093d7d83717b728585fcbb1da3e77e
Be sure that the discovered filesystem is not null.

- While scanning for a filesystem on a disk, the klibc utility can
  return a null string if it not finds a filesystem (e.g. on a container
  partition), and grepping for a null string either reports true if
  escaped or hangs grep if not escaped. Both conditions must be avoided
  in order to report that the kernel supports the filesystem named as
  the string.

Signed-off-by: Marco Amadori <marco.amadori@gmail.com>
scripts/live-helpers