Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Switch to killing cshark with -TERM instead of -INT
Killing the cshark program by sending the -INT signal was no longer working and cshark would keep running indefinitely. Changing this to kill cshark with the -TERM signal did kill cshark and still cleaned up all of the temporary files in /tmp, pid file, capture file, and cshark stdout file. The LuCI interface also printed out the correct information and added the uploaded capture to the list of uploaded captures.
- Loading branch information