summaryrefslogtreecommitdiff
path: root/awesome/rc.lua
diff options
context:
space:
mode:
Diffstat (limited to 'awesome/rc.lua')
-rw-r--r--awesome/rc.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/awesome/rc.lua b/awesome/rc.lua
index 463150d..ab8348b 100644
--- a/awesome/rc.lua
+++ b/awesome/rc.lua
@@ -855,7 +855,7 @@ function get_parent_pid(child_ppid, callback)
awful.spawn.easy_async(ppid_cmd, function(stdout, stderr, reason, exit_code)
-- primitive error checking
if stderr and stderr ~= "" then
- callback(stderr, false)
+ callback(nil, false)
return
end
local ppid = stdout:gsub(" ", ""):gsub("\n", "")