Commit 553d1418 authored by Christoph Berg's avatar Christoph Berg

User *postgres* must exist

parent de9679a3
......@@ -265,7 +265,7 @@ if ($owneruid) {
$owneruid = (getpwnam $owneruid)[2] unless $owneruid =~ /\d+/;
} elsif ($> == 0) {
$owneruid = getpwnam 'postgres';
error 'User postgresql does not exist' unless $owneruid;
error 'User postgres does not exist' unless $owneruid;
} else
{
$owneruid = $>;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment