From 347cabd785e6f7f02c0a741abfae2c912c270308 Mon Sep 17 00:00:00 2001 From: Olav Bakke Svendsen Date: Tue, 10 Oct 2023 08:53:18 +0200 Subject: [PATCH] Adding filter to dmesg --- common/dmesg.lua | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/common/dmesg.lua b/common/dmesg.lua index fe6dc93..4bf6cb0 100644 --- a/common/dmesg.lua +++ b/common/dmesg.lua @@ -1,5 +1,7 @@ -- dmesg.lua -- Prints OS events -while true do print(os.pullEvent()) end - +local args = {...} +while true do + print(os.pullEvent(args[1])) +end -- 2.30.2