]> git.proxmox.com Git - pve-common.git/blobdiff - src/PVE/RESTEnvironment.pm
add PVE::SystemD module
[pve-common.git] / src / PVE / RESTEnvironment.pm
index ebf8a2e7aaaadc8e88b50929b8f15e6e00e98dbd..32ffdd157f48a898697f77f7b582df471c5f6f64 100644 (file)
@@ -270,7 +270,7 @@ sub active_workers  {
        }
 
 
-       @ta = sort { $b->{starttime} cmp $a->{starttime} } @ta;
+       @ta = sort { $b->{starttime} <=> $a->{starttime} } @ta;
 
        my $save = defined($new_upid);