When spool_dir has improper permissions, mention what spool_dir is set to.

git-svn-id: https://svn.perl.org/qpsmtpd/trunk@250 958fd67b-6ff1-0310-b445-bb7760255be9
This commit is contained in:
Devin Carraway 2004-06-28 00:00:51 +00:00
parent 0f35f241b7
commit ae24115d06

View File

@ -81,7 +81,7 @@ sub body_write {
if (-e $spool_dir) {
my $mode = (stat($spool_dir))[2];
die "Permissions on the spool_dir are not 0700" if $mode & 07077;
die "Permissions on spool_dir $spool_dir are not 0700" if $mode & 07077;
}
-d $spool_dir or mkdir($spool_dir, 0700) or die "Could not create spool_dir $spool_dir: $!";