Skip to content

Commit b5c68f5

Browse files
authored
Merge pull request rfxn#178 from FlorianHeigl/patch-1
a working freebsd detection
2 parents d2c49be + 6431915 commit b5c68f5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ if [ -d "/etc/cron.d" ]; then
8585
chmod 644 /etc/cron.d/maldet_pub
8686
fi
8787

88-
if [ "$OSTYPE" != "FreeBSD" ]; then
88+
if [ "$(uname -s)" != "FreeBSD" ]; then
8989
if test `cat /proc/1/comm` = "systemd"
9090
then
9191
mkdir -p /etc/systemd/system/

0 commit comments

Comments
 (0)