Commit 8ef80fe0 authored by Tails developers's avatar Tails developers
Browse files

Make sure the memory dumping debug message is shown cleanly.

Sikuli needs that cue to know when to start dumping.
parent 5c4f31c9
......@@ -30,11 +30,12 @@ if [ -n "${sdmem}" ] ; then
sdmemopts="v"
fi
for i in $(seq 0 30) ; do /usr/bin/sdmem "-${sdmemopts}" & done
# Wait for at least one sdmem job to complete.
/usr/bin/sdmem "-${sdmemopts}"
# Wait for sdmem jobs to complete.
wait
fi
if [ "${sdmemdebug}" = 1 ] ; then
clear
echo "Going to sleep 10 minutes. Happy dumping!"
sleep 600
fi
......
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