From 35dbc61eeade4a9313203f088892770ee9d6f8cb Mon Sep 17 00:00:00 2001 From: zachir Date: Mon, 20 Mar 2023 01:43:13 -0500 Subject: rc.lua: add check so 867 will probably not randomly fail --- awesome/rc.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'awesome') diff --git a/awesome/rc.lua b/awesome/rc.lua index 7c5b061..179191e 100644 --- a/awesome/rc.lua +++ b/awesome/rc.lua @@ -864,7 +864,7 @@ function get_parent_pid(child_ppid, callback) end function if_client_and_parent(c1, c2, cl) - if c1 and (c1:find('^' .. cl.pid) or c2) then + if c1 and cl and cl.pid and (c1:find('^' .. cl.pid) or c2) then return true end end -- cgit v1.2.3