src/api2/node/tasks.rs: correctly handle start parameter

This commit is contained in:
Dietmar Maurer 2019-04-07 12:41:24 +02:00
parent 063ca5be77
commit 3c3bee2e32
1 changed files with 1 additions and 1 deletions

View File

@ -44,7 +44,7 @@ fn list_tasks(
entry["status"] = Value::from(state.1.clone());
}
if (count as u64) <= start {
if (count as u64) < start {
count += 1;
continue;
} else {