Get rid of the work directory on success.
[util-vserver.git] / scripts / vshelper
index b9dfdf9..7a7b2d4 100755 (executable)
@@ -73,6 +73,7 @@ function doInternalMethod
 
                    disown %%
                    vshelper.waitForStopSync "$sync_dir"
+                   spawn killContext "$XID"
                    ;;
                (swsusp)
                    ## TODO: any senseful action here? Perhaps shutdown scheduler for it?