From 1084bb1d6bf23dfd9ce01b446866a125b6ce1f38 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Fri, 2 Jan 2015 11:23:43 +0100 Subject: use consistent syntax for boot parameter processing Signed-off-by: Christian Hesse --- hooks/archiso | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'hooks/archiso') diff --git a/hooks/archiso b/hooks/archiso index addd08a..1bd9419 100644 --- a/hooks/archiso +++ b/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}" -- cgit v1.2.3-70-g09d2