aboutsummaryrefslogtreecommitdiffstats
path: root/lacme
diff options
context:
space:
mode:
Diffstat (limited to 'lacme')
-rwxr-xr-xlacme6
1 files changed, 3 insertions, 3 deletions
diff --git a/lacme b/lacme
index ad7e1d8..88ab78d 100755
--- a/lacme
+++ b/lacme
@@ -558,12 +558,12 @@ sub acme_client($@) {
# ensure we're the only user with write access to the parent dir
my $dirname = dirname($sockname);
- @stat = stat($dirname) or die "stat($dirname): $!\n";
- die "Error: insecure permissions on $dirname\n" if ($stat[2] & 0022) != 0;
+ @stat = stat($dirname) or die "Error: stat($dirname): $!\n";
+ die "Error: Insecure permissions on $dirname\n" if ($stat[2] & 0022) != 0;
# ensure we're the only user with read/write access to the socket
@stat = stat($sockname) or die "Can't stat $sockname: $! (Is lacme-accountd running?)\n";
- die "Error: insecure permissions on $sockname\n" if ($stat[2] & 0066) != 0;
+ die "Error: Insecure permissions on $sockname\n" if ($stat[2] & 0066) != 0;
# connect(2) to the socket
socket($client, PF_UNIX, SOCK_STREAM, 0) or die "socket: $!";