Apply 1 suggestion(s) to 1 file(s)

This commit is contained in:
Simon Wilper 2021-01-05 13:04:39 +00:00
parent bb503b9030
commit c9cdb6d4b9

View File

@ -72,7 +72,7 @@ _mnt_sfs() {
# in case we have pv use it to display copy progress feedback otherwise
# fallback to using plain cp
if [ -x /usr/bin/pv ]; then
if command -v pv > /dev/null 2>&1; then
echo ""
(pv "${img}" > "/run/archiso/copytoram/${img_fullname}")
local rc=$?