diff options
author | Bastian Wissler | 2009-03-09 19:51:09 +0100 |
---|---|---|
committer | Bastian Wissler | 2009-03-09 19:51:09 +0100 |
commit | fb90986c3928d2ba98d6cb6a18c122de78b8b0c7 (patch) | |
tree | 09ed78f654bb3173a2e8ec39cbced7786cf7bcbf /vmchooser/runImage.cxx | |
parent | vmchooser source: (diff) | |
download | vmchooser-fb90986c3928d2ba98d6cb6a18c122de78b8b0c7.tar.gz vmchooser-fb90986c3928d2ba98d6cb6a18c122de78b8b0c7.tar.xz vmchooser-fb90986c3928d2ba98d6cb6a18c122de78b8b0c7.zip |
vmchooser source:
* added support for starting xml with argument
* version: 0.0.8
git-svn-id: http://svn.openslx.org/svn/openslx/openslx-src-tools/vmchooser/trunk@2703 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'vmchooser/runImage.cxx')
-rw-r--r-- | vmchooser/runImage.cxx | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/vmchooser/runImage.cxx b/vmchooser/runImage.cxx index bed42ac..750d408 100644 --- a/vmchooser/runImage.cxx +++ b/vmchooser/runImage.cxx @@ -83,7 +83,7 @@ void runImage(fltk::Widget*, void* p) * Helper-function for runImage(Widget, void) * - runs the chosen virtualizer image **/ -string runImage(DataEntry& dat, string confxml) +void runImage(DataEntry& dat, string confxml) { if(! dat.command.empty() ) { char* arg[] = { (char*) dat.command.c_str(), '\0' }; @@ -94,9 +94,6 @@ string runImage(DataEntry& dat, string confxml) NULL }; execvp("/var/X11R6/bin/run-virt.sh", arg); - - // not reachable - but for compiling issues - return string(); } |