diff --git a/st.c b/st.c index 8d13d58..d35f134 100644 --- a/st.c +++ b/st.c @@ -948,7 +948,7 @@ execsh(char *cmd, char **args) prog = sh; arg = NULL; } - DEFAULT(args, ((char *[]) {prog, NULL})); + DEFAULT(args, ((char *[]) {prog, arg, NULL})); unsetenv("COLUMNS"); unsetenv("LINES");