chiark / gitweb /
daft sleeps in lulzjob
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Thu, 13 Sep 2018 16:09:19 +0000 (17:09 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Thu, 13 Sep 2018 16:09:19 +0000 (17:09 +0100)
scripts/lulzjob

index 6a1b399..39d8ff4 100755 (executable)
@@ -1,11 +1,13 @@
 #!/bin/sh
 set -e
-trap 'rc=$?; sleep 0.1; umount /media/sd; exit $rc' 0
+trap 'rc=$?; sleep 0.25; umount /media/sd; exit $rc' 0
 mount /media/sd
 cp "$1" /media/sd/JOB.G
+sleep 0.25
 umount /media/sd
 mount -r /media/sd
 cmp "$1" /media/sd/JOB.G
+sleep 0.25
 umount /media/sd
 trap '' 0
 ls -al "$1"