mirror of
https://codeberg.org/icewind/palantir.git
synced 2026-06-03 18:24:08 +02:00
fix zfs output
This commit is contained in:
parent
76b34af04f
commit
ac3fbde789
1 changed files with 1 additions and 1 deletions
|
|
@ -41,7 +41,7 @@ impl Iterator for OutputParser {
|
||||||
let line = match str[self.pos..].find('\n') {
|
let line = match str[self.pos..].find('\n') {
|
||||||
Some(next_pos) => {
|
Some(next_pos) => {
|
||||||
let old_pos = self.pos;
|
let old_pos = self.pos;
|
||||||
self.pos += next_pos;
|
self.pos += next_pos + 1;
|
||||||
Some(&str[old_pos..self.pos])
|
Some(&str[old_pos..self.pos])
|
||||||
}
|
}
|
||||||
None if self.pos < str.len() => {
|
None if self.pos < str.len() => {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue