openwrt-packages/utils/klish/patches/010-shell_execute_fix.patch

17 lines
406 B
Diff

--- a/clish/shell/shell_execute.c
+++ b/clish/shell/shell_execute.c
@@ -19,13 +19,6 @@
#include <signal.h>
#include <fcntl.h>
-/* Empty signal handler to ignore signal but don't use SIG_IGN. */
-static void sigignore(int signo)
-{
- signo = signo; /* Happy compiler */
- return;
-}
-
/*-------------------------------------------------------- */
static int clish_shell_lock(const char *lock_path)
{