summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/trap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/trap.c b/src/trap.c
index 3d28485..17316c9 100644
--- a/src/trap.c
+++ b/src/trap.c
@@ -366,7 +366,7 @@ exitshell(void)
 {
 	struct jmploc loc;
 	char *p;
-	int status;
+	volatile int status;
 
 #ifdef HETIO
 	hetio_reset_term();