aboutsummaryrefslogtreecommitdiff
path: root/utils/klish/patches/010-shell_execute_fix.patch
blob: 822736259d58fb11f1bda00856a9c6942e44c41a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
--- a/clish/shell/shell_execute.c
+++ b/clish/shell/shell_execute.c
@@ -19,12 +19,14 @@
 #include <signal.h>
 #include <fcntl.h>
 
+#if 0
 /* Empty signal handler to ignore signal but don't use SIG_IGN. */
 static void sigignore(int signo)
 {
 	signo = signo; /* Happy compiler */
 	return;
 }
+#endif
 
 /*-------------------------------------------------------- */
 static int clish_shell_lock(const char *lock_path)