return procs instead of empty vec

master
rasul 5 years ago
parent ce0c174b6a
commit 01f1a61f0d

@ -79,7 +79,7 @@ impl Apps {
if holds.unwrap_or(0) < 1 {
error!("no holds configured");
return Ok(Vec::new());
return Ok(procs);
}
while holds > Some(0) {

Loading…
Cancel
Save