confz

git mirror of https://ccx.te2000.cz/bzr/confz
git clone https://ccx.te2000.cz/git/confz
Log | Files | Refs

commit 1e300f3837555c1e1a6076010e0bb285e9bcfe1c
parent 1dc7eebeedcdb53e7b609db716e9a0e2121b754c
Author: Jan Pobrislo <ccx@webprojekty.cz>
Date:   Fri, 22 Feb 2019 04:43:04 +0100

dd bs doesn't accept units
Diffstat:
Mzsh-functions/confz_fs_init | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/zsh-functions/confz_fs_init b/zsh-functions/confz_fs_init @@ -206,7 +206,7 @@ confz_disklabel_gpt_check() { # embed file in MBR confz_mbr_code_check() { checkvars device from - do_command=( dd bs=440B count=1 if=$vars[from] of=$vars[device] ) + do_command=( dd bs=440 count=1 if=$vars[from] of=$vars[device] ) dd if=$vars[device] bs=440 count=1 | cmp -s - $vars[from] }