]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commitdiff
snort: Remove trailing slash in pid path
authorDouglas Duckworth <planningbfun@gmail.com>
Sat, 12 Sep 2015 16:27:17 +0000 (11:27 -0500)
committerMichael Tremer <michael.tremer@ipfire.org>
Mon, 14 Sep 2015 22:19:50 +0000 (23:19 +0100)
Fixes: https://bugzilla.ipfire.org/show_bug.cgi?id=10924
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/initscripts/init.d/snort

index 42968d8da1cbe77124dc6c2ecefefcce7b5d0dab..e03c80fea90461dcde0a47379b744e64deaaa4bd 100644 (file)
@@ -74,7 +74,7 @@ case "$1" in
 
                 for DEVICE in $DEVICES; do
                         boot_mesg "Starting Intrusion Detection System on $DEVICE..."
-                        /usr/sbin/snort -c /etc/snort/snort.conf -i $DEVICE -D -l /var/log/snort --create-pidfile --nolock-pidfile --pid-path /var/run/
+                        /usr/sbin/snort -c /etc/snort/snort.conf -i $DEVICE -D -l /var/log/snort --create-pidfile --nolock-pidfile --pid-path /var/run
                         evaluate_retval
                        sleep 1
                         chmod 644 /var/run/snort_$DEVICE.pid