X-Git-Url: https://git.distorted.org.uk/~mdw/disorder-toys/blobdiff_plain/8f6b6ec698be1118d56eb987a588c449d1b90c7c..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) // ""; } }