summaryrefslogtreecommitdiff
path: root/archiso/initcpio
diff options
context:
space:
mode:
authorChristian Hesse <mail@eworm.de>2015-01-02 11:23:43 +0100
committerGerardo Exequiel Pozzi <vmlinuz386@gmail.com>2015-01-02 15:13:35 -0300
commit0b7a77cfc319515cc4ebdb3651ba6283c06cf773 (patch)
treeb0bf2ddf8a224b96b3457f1d104870e3b318d82a /archiso/initcpio
parent1da2d027c578b3dcff65ca2748adb5404f44279d (diff)
downloadarchiso32-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/archiso4
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}"