summaryrefslogtreecommitdiffstats
path: root/vmchooser/runImage.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vmchooser/runImage.cxx')
-rw-r--r--vmchooser/runImage.cxx6
1 files changed, 4 insertions, 2 deletions
diff --git a/vmchooser/runImage.cxx b/vmchooser/runImage.cxx
index 6ffa51f..d9f9259 100644
--- a/vmchooser/runImage.cxx
+++ b/vmchooser/runImage.cxx
@@ -59,8 +59,10 @@ void runImage(fltk::Widget*, void* p)
case 0:
mainwin->destroy();
fltk::wait();
- cout << "calling " << argv[1] << endl;
- execvp(argv[0], argv);
+ if(dat.imgtype == VMWARE || dat.imgtype == VBOX) {
+ cout << "calling " << argv[1] << endl;
+ execvp(argv[0], argv);
+ }
break;
default:
// this is not really useful, as this