From 1570da36f54972d0f09c1f0b1edd8ab562575cbc Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Mon, 31 Oct 2011 13:44:59 +0100 Subject: [PATCH] Jobs should be sorted by their IDs when scanning queue --- lib/BEX/Queue.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/BEX/Queue.pm b/lib/BEX/Queue.pm index 04e21f8..84e8590 100644 --- a/lib/BEX/Queue.pm +++ b/lib/BEX/Queue.pm @@ -100,7 +100,7 @@ sub scan($$) { } closedir D; } - return @list; + return sort @list; } sub remove($$) { -- 2.39.2