diff options
| author | Jonathan Bauer | 2013-11-14 16:06:46 +0100 |
|---|---|---|
| committer | Jonathan Bauer | 2013-11-14 16:06:46 +0100 |
| commit | 1a438fc4c47a66852f1e59f694b28bf6168afd8c (patch) | |
| tree | d35c569619aafad75c4e750fa4c2e96c1f525442 /remote/modules | |
| parent | [pam-freiburg] added check for hung mount home directory stuff (diff) | |
| download | tm-scripts-1a438fc4c47a66852f1e59f694b28bf6168afd8c.tar.gz tm-scripts-1a438fc4c47a66852f1e59f694b28bf6168afd8c.tar.xz tm-scripts-1a438fc4c47a66852f1e59f694b28bf6168afd8c.zip | |
[vmchooser] quick fix for tcpsrvd not exiting properly.
Diffstat (limited to 'remote/modules')
| -rwxr-xr-x | remote/modules/vmchooser/data/opt/openslx/scripts/vmchooser-run_virt | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/remote/modules/vmchooser/data/opt/openslx/scripts/vmchooser-run_virt b/remote/modules/vmchooser/data/opt/openslx/scripts/vmchooser-run_virt index dac60520..01456c0f 100755 --- a/remote/modules/vmchooser/data/opt/openslx/scripts/vmchooser-run_virt +++ b/remote/modules/vmchooser/data/opt/openslx/scripts/vmchooser-run_virt @@ -519,20 +519,20 @@ if [ -e /opt/openslx/etc/"${xmlvirt}"/run-virt.include ] ; then sleep "$timeout" done fi - + # Postrun for commands after virtualization finishes + if [ -n "${POSTRUN}" ]; then + eval ${POSTRUN} >/dev/null 2>&1 + fi + + # Kill LPD + kill $PID_LPD + cleanexit 0 else writelog "Failed because of missing ${xmlvirt} plugin." cleanexit 1 fi -# Postrun for commands after virtualization finishes -if [ -n "${POSTRUN}" ]; then - eval ${POSTRUN} >/dev/null 2>&1 -fi - -# Kill LPD -kill $PID_LPD cleanexit 0 |
