diff options
author | Patrick McDermott <patrick.mcdermott@libiquity.com> | 2019-04-27 17:38:21 (EDT) |
---|---|---|
committer | Patrick McDermott <patrick.mcdermott@libiquity.com> | 2019-04-27 17:38:21 (EDT) |
commit | b89dc654b25fb8e64ae1a398df1614c27ba16c99 (patch) | |
tree | 3f8c6da975b302e1d2c4c6cd6713dd9482d48446 /src/cmd/installer-pc.sh | |
parent | a437ef94594a649aef1409e4aaf08299856e795d (diff) |
src/cmd/*.sh: Shift consistently
Diffstat (limited to 'src/cmd/installer-pc.sh')
-rw-r--r-- | src/cmd/installer-pc.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/cmd/installer-pc.sh b/src/cmd/installer-pc.sh index bb0410d..d85558b 100644 --- a/src/cmd/installer-pc.sh +++ b/src/cmd/installer-pc.sh @@ -24,6 +24,7 @@ _cmd_installer_pc_log_print() { local prefix="${1}" local log="${2}" + shift 2 local line= IFS="${LF}" @@ -36,6 +37,7 @@ _cmd_installer_pc_log_print() _cmd_installer_pc_make_partition_and_fs() { local dev="${1}" + shift 1 local log= info "$(get_msg 'cmd_installer_pc_dd')" @@ -104,6 +106,8 @@ cmd_installer_pc_main() suite="${1}" dev="${2}" + shift 2 + if ! check_block "${dev}"; then return 2 fi |