Skip to content

Commit 86e9a1c

Browse files
author
David Christensen
authored
Merge pull request bucardo#174 from jacksonfoz/patch-1
check_disk_space: handle relative log_directory path
2 parents 7ff4c7e + 2750d3d commit 86e9a1c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

check_postgres.pl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5223,7 +5223,7 @@ sub check_disk_space {
52235223

52245224
## Check log_directory: relative or absolute
52255225
if (length $logdir) {
5226-
if ($logdir =~ /^\w/) { ## relative, check only if symlinked
5226+
if ($logdir =~ /^[\w\.]/) { ## relative, check only if symlinked
52275227
$logdir = "$datadir/$logdir";
52285228
if (-l $logdir) {
52295229
my $linkdir = readlink($logdir);

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy