summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/exec_shell.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/exec_shell.c b/lib/exec_shell.c
index a7374bd33..b2f178add 100644
--- a/lib/exec_shell.c
+++ b/lib/exec_shell.c
@@ -30,7 +30,7 @@
#define DEFAULT_SHELL "/bin/sh"
-void exec_shell(void)
+void __attribute__((__noreturn__)) exec_shell(void)
{
const char *shell = getenv("SHELL");
char *shellc = xstrdup(shell);