diff options
Diffstat (limited to 'app-emulation/qemu-init-scripts/files/qemu-init-script')
-rw-r--r-- | app-emulation/qemu-init-scripts/files/qemu-init-script | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/app-emulation/qemu-init-scripts/files/qemu-init-script b/app-emulation/qemu-init-scripts/files/qemu-init-script index 9880a7b..63c662c 100644 --- a/app-emulation/qemu-init-scripts/files/qemu-init-script +++ b/app-emulation/qemu-init-scripts/files/qemu-init-script @@ -161,7 +161,7 @@ start() { fi ebegin "Starting ${VM_BINARY##*/} for ${VMNAME} ${FOREGROUND:+at ${FOREGROUND}}" - start-stop-daemon \ + set -- start-stop-daemon \ --start "${VM_BINARY}" \ --pidfile ${PIDFILE} \ "${ss_args[@]}" \ @@ -173,6 +173,8 @@ start() { "${NIC_COMMAND[@]}" \ ${DISABLE_KVM:---enable-kvm} \ ${MEMORY:+-m ${MEMORY}} ${SMP:+-smp ${SMP}} ${OTHER_ARGS} + einfo "invoking ${@}" + "${@}" ret=$? if [ "0" != "${ret}" -a -n "${QTAP}" ]; then qtap-manipulate destroy ${QTAP} |