• R/O
  • SSH
  • HTTPS

yash: Commit


Commit MetaInfo

Revision3832 (tree)
Time2018-03-16 00:33:31
Authormagicant

Log Message

enqueue.sh: Discontinue if interrupted

Change Summary

Incremental Difference

--- yash/trunk/tests/enqueue.sh (revision 3831)
+++ yash/trunk/tests/enqueue.sh (revision 3832)
@@ -87,7 +87,7 @@
8787
8888 IFS='
8989 '
90-until rmdir "$queue_dir" 2>/dev/null; do
90+until [ "$interrupted" ] || rmdir "$queue_dir" 2>/dev/null; do
9191 if ! [ -d "$queue_dir" ]; then
9292 printf '%s: the queue directory was unexpectedly removed.\n' "$0" >&2
9393 exit 69 # sysexits.h EX_UNAVAILABLE
Show on old repository browser