From db2b517194b3e5d0b4d46d1032cb8ba8571f9b6b Mon Sep 17 00:00:00 2001 From: Ahurac Date: Sun, 24 Mar 2024 23:27:56 +0100 Subject: [PATCH] qemush : suppression shift inutile --- bin/qemush | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/bin/qemush b/bin/qemush index f7b1bf6..6bcb110 100755 --- a/bin/qemush +++ b/bin/qemush @@ -69,7 +69,6 @@ public_start() { # argument is provided public_attach() { export QEMUSH_NAME="$1" - shift exec socat -,rawer,escape=15 "UNIX-CONNECT:$(pathof socket)" } @@ -93,8 +92,8 @@ public_ls() { # Create a copy-on-write disk for a virtual machine public_diskadd() { export QEMUSH_NAME="$1" - shift - exec qemu-img create -f qcow2 "$(pathof disk)" "$1" + + exec qemu-img create -f qcow2 "$(pathof disk)" "$2" } # Delete a disk