]> git.ipfire.org Git - thirdparty/dracut.git/commit - dracut.sh
dracut: fix arithemtic ${#VAR[@]} tests
authorMichal Soltys <soltys@ziu.info>
Sun, 20 Mar 2011 19:56:17 +0000 (20:56 +0100)
committerHarald Hoyer <harald@redhat.com>
Wed, 23 Mar 2011 10:25:55 +0000 (11:25 +0100)
commite5e5c8952dc0b6bf800c62d4474671f9aae89723
treedbb70df8659704ac6b81259a313195339a9d5b9f
parent19f3a804e75cbce2de7cc0b01e8c3db1f37297b7
dracut: fix arithemtic ${#VAR[@]} tests

This patch fixes a handful of ${#VAR[@]} tests, which can't be evaluated
as text expressions - the results is always true in such case, because
"0" is non-empty string.

Signed-off-by: Michal Soltys <soltys@ziu.info>
dracut