Skip to content
Snippets Groups Projects
Commit 0b7a77cf authored by Christian Hesse's avatar Christian Hesse :stuck_out_tongue_winking_eye: Committed by Gerardo Pozzi
Browse files

use consistent syntax for boot parameter processing


Signed-off-by: default avatarChristian Hesse <mail@eworm.de>
parent 1da2d027
No related branches found
No related tags found
No related merge requests found
......@@ -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}"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment