X-Git-Url: https://git.distorted.org.uk/~mdw/disorder-toys/blobdiff_plain/8537d8f89b9f35271347580db8ae4ef3fd855d38..c637731359e7f8412cdda193d672fceed1b3e0a2:/disorder-ondemand.in diff --git a/disorder-ondemand.in b/disorder-ondemand.in index d9429bb..a517e7b 100755 --- a/disorder-ondemand.in +++ b/disorder-ondemand.in @@ -130,7 +130,7 @@ sub watch_status () { } @lines = split /\n/, $buffer, -1; - $buffer = pop @lines; + $buffer = pop(@lines) // ""; } for my $line (@lines) {