From d635ae248a77b158e5cccbcd5495cc6bf5252be3 Mon Sep 17 00:00:00 2001 From: Jordi Sanfeliu Date: Fri, 7 May 2021 09:48:45 +0200 Subject: [PATCH] small cosmetic changes --- monitorix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/monitorix b/monitorix index 9ae3d6a..6ddb5de 100755 --- a/monitorix +++ b/monitorix @@ -210,7 +210,7 @@ EOF (my $base_cgi = $config{base_cgi}) =~ s/\/*$/\//; if(!open(OUT, "> $config{base_dir}/index.html")) { - die "unable to create '${config{base_dir}}index.html': $!"; + die "Unable to create '${config{base_dir}}index.html': $!"; } my $css = sprintf("%scss/%s.css", $base_url, $theme); print(OUT < $options{p}") - || die "could not open '$options{p}' for writing: $!"; + || die "Could not open '$options{p}' for writing: $!"; print(OUT "$$"); close(OUT); } # change to a safety directory unless(chdir("/tmp")) { - die "can't chdir to /tmp: $!"; + die "Can't chdir to /tmp: $!"; } if($options{d}) {