summaryrefslogtreecommitdiff
path: root/gui_theme.c
diff options
context:
space:
mode:
Diffstat (limited to 'gui_theme.c')
-rw-r--r--gui_theme.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gui_theme.c b/gui_theme.c
index d356837d..18d5522e 100644
--- a/gui_theme.c
+++ b/gui_theme.c
@@ -99,7 +99,7 @@ static int figlet_exec(const char *str, WINDOW *win)
struct figlet_output figo = {.max_width = 0};
pid_t pid;
- ret = para_exec_cmdline_pid(&pid, cmd, fds);
+ ret = xexec(&pid, cmd, fds);
if (ret < 0)
return ret;
write_all(fds[0], str, strlen(str));