aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plugins/gitstatus.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/gitstatus.lua b/plugins/gitstatus.lua
index 2578862..de5c74b 100644
--- a/plugins/gitstatus.lua
+++ b/plugins/gitstatus.lua
@@ -42,7 +42,7 @@ local function exec(cmd)
while proc:running() do
coroutine.yield(0.1)
end
- return proc:read_stdout()
+ return proc:read_stdout() or ""
end