Commit 1f4b3ad3 authored by Hejing Li's avatar Hejing Li
Browse files

clean up the processes while signal occurs

parent 9f059d9e
......@@ -216,3 +216,5 @@ cleanup() {
rm -f $OUTDIR/{qemu.hd.*,shm.*,pci.*,eth.*}
date >>$OUTDIR/endtime
}
trap "cleanup" SIGINT
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment