dot

packages and services management
Log | Files | Refs | README

commit 4afd7d5285b9ffe2583419aac88f8dd921559d64
parent 9375ce839ed9ad1abed788e8eb768e8034b7b572
Author: Josuah Demangeon <mail@josuah.net>
Date:   Thu,  8 Feb 2018 02:28:31 +0100

[fix] qemu: create command

Diffstat:
Mbin/qemu | 4+---
1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/bin/qemu b/bin/qemu @@ -7,9 +7,7 @@ case "${1}" in [ "${#}" -ne 3 ] || ! [ -r "${LIB}/qemu/${3}" ] || exec "${0}" - cp "${LIB}/qemu/${3}" "${VAR}/qemu/${2}.img" - - exec "${0}" start "${VAR}/qemu/${1}.img" + cp "${LIB}/qemu/${2}" "${VAR}/qemu/${3}" ;; (start) [ "${#}" -ne 3 ] || ! [ -r "${LIB}/qemu/${2}" ] ||