diff options
author | Rafael G. Martins <rafael@rafaelmartins.eng.br> | 2013-11-16 00:36:20 -0200 |
---|---|---|
committer | Rafael G. Martins <rafael@rafaelmartins.eng.br> | 2013-11-16 00:36:20 -0200 |
commit | b2e940c4023f5a92bf59d2a14137106b816dec95 (patch) | |
tree | 28a9cf1b9f3ba311c734dd987c93e8be7b943822 /app-emulation/qemu-init-scripts/files/qemu-init-script | |
parent | s,/var/run,/run/g (diff) | |
download | kvm-tools-b2e940c4023f5a92bf59d2a14137106b816dec95.tar.gz kvm-tools-b2e940c4023f5a92bf59d2a14137106b816dec95.tar.bz2 kvm-tools-b2e940c4023f5a92bf59d2a14137106b816dec95.zip |
fix FOREGROUND=vnc usage
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, 2 insertions, 2 deletions
diff --git a/app-emulation/qemu-init-scripts/files/qemu-init-script b/app-emulation/qemu-init-scripts/files/qemu-init-script index 4bc8bc0..e8ca078 100644 --- a/app-emulation/qemu-init-scripts/files/qemu-init-script +++ b/app-emulation/qemu-init-scripts/files/qemu-init-script @@ -36,12 +36,12 @@ discern_vm_binary() { discern_foreground() { if [ -n "$VNC" ]; then - ewarn "VNC option is going away; set FOREGROUND=vnc${VNC} instead" + ewarn "VNC option is going away; set FOREGROUND=\"vnc=${VNC}\" instead" FOREGROUND="vnc=${VNC}" fi case "${FOREGROUND:-none}" in vnc*) - VNC=${VNC#*=} + VNC=${FOREGROUND#*=} if [ -z "$VNC" ]; then eerror "FOREGROUND vnc is incorrectly set; must specify an address (:1 for example)" return 1 |