use File::Spec;
$dirname = File::Spec->rel2abs(dirname(__FILE__));
-require 'logcheck.conf';
+require $dirname.'/logcheck.conf';
$mode="run";
if (defined($logcheckpath)) {
sub head() {
print "\n";
print "-----------------------------\n";
- print "This is logcheck.pl V1.0.7\n";
+ print "This is logcheck.pl V1.0.8\n";
print "https://peters-webcorner.de\n";
print "project hosted on github\n";
print "https://github.com/pstimpel/logcheck\n\n";