mirror of
https://github.com/oSoWoSo/DistroHopper.git
synced 2024-08-14 22:46:53 +00:00
Make shellcheck happy
This commit is contained in:
parent
3257768677
commit
33adadc988
1 changed files with 3 additions and 3 deletions
6
quickemu
6
quickemu
|
@ -43,8 +43,8 @@ function disk_delete() {
|
||||||
# Remove any EFI vars, but not for macOS
|
# Remove any EFI vars, but not for macOS
|
||||||
rm "${VMDIR}"/OVMF_VARS*.fd >/dev/null 2>&1
|
rm "${VMDIR}"/OVMF_VARS*.fd >/dev/null 2>&1
|
||||||
rm "${VMPATH}/${VMDIR}"/OVMF_VARS*.fd >/dev/null 2>&1
|
rm "${VMPATH}/${VMDIR}"/OVMF_VARS*.fd >/dev/null 2>&1
|
||||||
rm "${VMDIR}"/${VMNAME}-vars.fd >/dev/null 2>&1
|
rm "${VMDIR}/${VMNAME}-vars.fd" >/dev/null 2>&1
|
||||||
rm "${VMPATH}/${VMDIR}"/${VMNAME}-vars.fd > /dev/null 2>&1
|
rm "${VMPATH}/${VMDIR}/${VMNAME}-vars.fd" > /dev/null 2>&1
|
||||||
echo "SUCCESS! Deleted ${disk_img}"
|
echo "SUCCESS! Deleted ${disk_img}"
|
||||||
else
|
else
|
||||||
echo "NOTE! ${disk_img} not found. Doing nothing."
|
echo "NOTE! ${disk_img} not found. Doing nothing."
|
||||||
|
@ -782,7 +782,7 @@ function vm_boot() {
|
||||||
--terminate
|
--terminate
|
||||||
--tpmstate dir="${VMDIR}"
|
--tpmstate dir="${VMDIR}"
|
||||||
--tpm2)
|
--tpm2)
|
||||||
echo "${SWTPM} ${tpm_args[@]} &" >> "${VMDIR}/${VMNAME}.sh"
|
echo "${SWTPM} ${tpm_args[*]} &" >> "${VMDIR}/${VMNAME}.sh"
|
||||||
${SWTPM} "${tpm_args[@]}" >> "${VMDIR}/${VMNAME}.log" &
|
${SWTPM} "${tpm_args[@]}" >> "${VMDIR}/${VMNAME}.log" &
|
||||||
echo " - TPM: ${VMDIR}/${VMNAME}.swtpm-sock (${!})"
|
echo " - TPM: ${VMDIR}/${VMNAME}.swtpm-sock (${!})"
|
||||||
sleep 1
|
sleep 1
|
||||||
|
|
Loading…
Reference in a new issue