diff options
author | Christian Hesse <mail@eworm.de> | 2015-01-02 11:23:43 +0100 |
---|---|---|
committer | Gerardo Exequiel Pozzi <vmlinuz386@gmail.com> | 2015-01-02 15:13:35 -0300 |
commit | 0b7a77cfc319515cc4ebdb3651ba6283c06cf773 (patch) | |
tree | b0bf2ddf8a224b96b3457f1d104870e3b318d82a /archiso/initcpio | |
parent | 1da2d027c578b3dcff65ca2748adb5404f44279d (diff) | |
download | archiso32-0b7a77cfc319515cc4ebdb3651ba6283c06cf773.tar.xz |
use consistent syntax for boot parameter processing
Signed-off-by: Christian Hesse <mail@eworm.de>
Diffstat (limited to 'archiso/initcpio')
-rw-r--r-- | archiso/initcpio/hooks/archiso | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/archiso/initcpio/hooks/archiso b/archiso/initcpio/hooks/archiso index addd08a..1bd9419 100644 --- a/archiso/initcpio/hooks/archiso +++ b/archiso/initcpio/hooks/archiso @@ -100,9 +100,7 @@ run_hook() { [[ -z "${archisobasedir}" ]] && archisobasedir="arch" [[ -z "${dm_snap_prefix}" ]] && dm_snap_prefix="arch" [[ -z "${archisodevice}" ]] && archisodevice="/dev/disk/by-label/${archisolabel}" - if [[ -z "${cowfile_size}" ]]; then - cowfile_size="256M" - fi + [[ -z "${cowfile_size}" ]] && cowfile_size="256M" if [[ -n "${cow_label}" ]]; then cow_device="/dev/disk/by-label/${cow_label}" |