Read about our upcoming Code of Conduct on this issue

Commit 11d9b6b6 authored by alex@thinkpad's avatar alex@thinkpad
Browse files

QEMU tests: run all cleanups on CTRL-C

(stop all background tasks, make sure QEMU is no longer running, remove temporary files...)

--HG--
branch : qemu
parent 06bfaad0cc5d
......@@ -171,6 +171,8 @@ echo "Setting up temporary SD/CF card images..."
function sd_restore {
trap '' SIGINT
echo
echo "Cleaning up..."
cleanup
echo "Restoring your SD/CF card images..."
mv sd-user.img sd.img
mv cf-user.img cf.img
......
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