aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xconfig/snort/snort.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/snort/snort.inc b/config/snort/snort.inc
index 5de18898..c85e9329 100755
--- a/config/snort/snort.inc
+++ b/config/snort/snort.inc
@@ -1855,7 +1855,7 @@ function snort_create_rc() {
fi
if [ ! -z \$pid ]; then
/usr/bin/logger -p daemon.info -i -t SnortStartup "Barnyard2 STOP for {$value['descr']}({$snort_uuid}_{$if_real})..."
- /bin/pkill $pid -a
+ /bin/pkill \$pid -a
time=0 timeout=30
while kill -0 \$pid 2>/dev/null; do
sleep 1