X-Git-Url: https://git.distorted.org.uk/~mdw/disorder-toys/blobdiff_plain/8537d8f89b9f35271347580db8ae4ef3fd855d38..c637731359e7f8412cdda193d672fceed1b3e0a2:/disorder-notify.in diff --git a/disorder-notify.in b/disorder-notify.in index ffdfb8e..2da54f6 100755 --- a/disorder-notify.in +++ b/disorder-notify.in @@ -260,7 +260,7 @@ sub watch_and_notify0 ($) { } @lines = split /\n/, $buffer, -1; - $buffer = pop @lines; + $buffer = pop(@lines) // ""; } }