diff --git a/src/install.sh b/src/install.sh index d809d48..fe5b36a 100644 --- a/src/install.sh +++ b/src/install.sh @@ -833,7 +833,7 @@ updateImage() { addDriver "$DETECTED" "$drivers" "$target" "viogpudo" addDriver "$DETECTED" "$drivers" "$target" "qemupciserial" - if ! wimlib-imagex update "$loc" "$idx" --command "add $dest /$target" >/dev/null; then + if ! wimlib-imagex update "$loc" "$index" --command "add $dest /$target" >/dev/null; then warn "Failed to add drivers to image!" fi