diff options
author | Dave Reisner <dreisner@archlinux.org> | 2011-09-26 19:51:09 +0200 |
---|---|---|
committer | Dave Reisner <dreisner@archlinux.org> | 2011-10-01 05:31:39 +0200 |
commit | 575c9c458264ca4e507a6a08eb104de5d1255556 (patch) | |
tree | d16a037e18bb12cd37d97bbf8b8be6bf1407f7e9 /hooks/sleep | |
parent | a831b86df5f1728acfd6bbf676b61cb962029a4d (diff) | |
download | mkinitcpio-575c9c458264ca4e507a6a08eb104de5d1255556.tar.gz mkinitcpio-575c9c458264ca4e507a6a08eb104de5d1255556.tar.xz |
init_functions: use constants on LHS of tests
If we encounter a BOOT_IMAGE var taken from grub2, the first character
could be a '(' which will throw off busybox's parser and error out.
Reverse the comparison so that the LHS is always a constant, which can
be compared to anything (including nothing at all).
Fixes FS#26119.
Signed-off-by: Dave Reisner <dreisner@archlinux.org>
Diffstat (limited to 'hooks/sleep')
0 files changed, 0 insertions, 0 deletions