diff --git a/termite.cc b/termite.cc index 84b255d..8807020 100644 --- a/termite.cc +++ b/termite.cc @@ -1457,12 +1457,12 @@ static void exit_with_success(VteTerminal *) { } static char *get_user_shell_with_fallback() { - if (char *command = vte_get_user_shell()) - return command; - if (const char *env = g_getenv("SHELL")) return g_strdup(env); + if (char *command = vte_get_user_shell()) + return command; + return g_strdup("/bin/sh"); }