Satisfy SC2034
Are these variables really needed? Understanding this goes beyond my knowledge, hence this PR is only WIP open for discussion
This commit is contained in:
parent
9b9dd304f1
commit
b9f8f07fee
4
quickemu
4
quickemu
@ -250,7 +250,7 @@ function vm_boot() {
|
||||
fi
|
||||
elif [ -e "${disk_img}" ]; then
|
||||
# Check there isn't already a process attached to the disk image.
|
||||
QEMU_LOCK_TEST=$(${QEMU_IMG} info "${disk_img}" 2>/dev/null)
|
||||
${QEMU_IMG} info "${disk_img}" 2>/dev/null
|
||||
if [ $? -ne 0 ]; then
|
||||
echo " Failed to get \"write\" lock. Is another process using the disk?"
|
||||
exit 1
|
||||
@ -553,11 +553,9 @@ cpu_cores=""
|
||||
|
||||
FULLSCREEN=""
|
||||
DELETE=0
|
||||
ENABLE_EFI=0
|
||||
SNAPSHOT_ACTION=""
|
||||
SNAPSHOT_TAG=""
|
||||
STATUS_QUO=""
|
||||
USB_PASSTHOUGH=""
|
||||
VM=""
|
||||
SHORTCUT=0
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user