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
|
||||
rm "${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 "${VMPATH}/${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
|
||||
echo "SUCCESS! Deleted ${disk_img}"
|
||||
else
|
||||
echo "NOTE! ${disk_img} not found. Doing nothing."
|
||||
|
@ -782,7 +782,7 @@ function vm_boot() {
|
|||
--terminate
|
||||
--tpmstate dir="${VMDIR}"
|
||||
--tpm2)
|
||||
echo "${SWTPM} ${tpm_args[@]} &" >> "${VMDIR}/${VMNAME}.sh"
|
||||
echo "${SWTPM} ${tpm_args[*]} &" >> "${VMDIR}/${VMNAME}.sh"
|
||||
${SWTPM} "${tpm_args[@]}" >> "${VMDIR}/${VMNAME}.log" &
|
||||
echo " - TPM: ${VMDIR}/${VMNAME}.swtpm-sock (${!})"
|
||||
sleep 1
|
||||
|
|
Loading…
Reference in a new issue