blob: 0a73967144a5343597d7a41374e1d30e71c3f9b9 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
--- src/sshguard.in.orig 2021-06-06 14:54:07 UTC
+++ src/sshguard.in
@@ -98,14 +98,8 @@ elif [ -z "$tailcmd" ]; then
exit 1
fi
-if [ -n "$PID_FILE" ]; then
- if [ ! -e "$PID_FILE" ]; then
- echo "$$" > $PID_FILE
- else
- err "$PID_FILE already exists; is SSHGuard already running?"
- exit 1
- fi
-fi
+# Already checked by rc(8)
+echo "$$" > $PID_FILE
# Select PARSER from configuration file or use default. Add POST_PARSER from
# configuration file if it exists.
|