diff --git a/usr/lib/archboot/installer/mountpoints.sh b/usr/lib/archboot/installer/mountpoints.sh index 625bdf47e..7af287624 100644 --- a/usr/lib/archboot/installer/mountpoints.sh +++ b/usr/lib/archboot/installer/mountpoints.sh @@ -333,7 +333,7 @@ _mountpoints() { # disable swap and all mounted devices _umountall _printk off - _MAX_COUNT=$(wc -l /tmp/.parts) + _MAX_COUNT=$(wc -l < /tmp/.parts) _PROGRESS_COUNT=$((100/_MAX_COUNT)) _COUNT=0 _run_mkfs | _dialog --title " Mountpoints " --no-mouse --gauge "Mountpoints..." 6 75 0