summaryrefslogtreecommitdiff
path: root/ext/Sys/Syslog/Makefile.PL
diff options
context:
space:
mode:
Diffstat (limited to 'ext/Sys/Syslog/Makefile.PL')
-rw-r--r--ext/Sys/Syslog/Makefile.PL8
1 files changed, 4 insertions, 4 deletions
diff --git a/ext/Sys/Syslog/Makefile.PL b/ext/Sys/Syslog/Makefile.PL
index 679a2ff2f3..511eba0e5d 100644
--- a/ext/Sys/Syslog/Makefile.PL
+++ b/ext/Sys/Syslog/Makefile.PL
@@ -100,14 +100,14 @@ if (-c "/dev/conslog" and -w _) {
# permissions.
$_PATH_LOG = "/dev/conslog";
}
-elsif (-S "/dev/log" and -w _) {
- # Most unixes have a unix domain socket /dev/log.
- $_PATH_LOG = "/dev/log";
-}
elsif (-S "/var/run/syslog" and -w _) {
# Mac OS X puts it at a different path.
$_PATH_LOG = "/var/run/syslog";
}
+elsif (-S "/dev/log" and -w _) {
+ # Most unixes have a unix domain socket /dev/log.
+ $_PATH_LOG = "/dev/log";
+}
else {
$_PATH_LOG = "";
}