projects
/
logcheck
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eb8e7a3
)
V1.0.8 Use the pl-files directory to include config file
master
V1.0.8
author
Peter Stimpel
<pstimpel@gmail.com>
Wed, 10 Oct 2018 18:58:32 +0000
(20:58 +0200)
committer
Peter Stimpel
<pstimpel@gmail.com>
Wed, 10 Oct 2018 18:58:32 +0000
(20:58 +0200)
CHANGES
patch
|
blob
|
history
logcheck.pl
patch
|
blob
|
history
diff --git
a/CHANGES
b/CHANGES
index
989d2dd
..
0ee7709
100644
(file)
--- a/
CHANGES
+++ b/
CHANGES
@@
-1,5
+1,9
@@
logcheck.pl
-------------------
+V 1.0.8
+- use pl-files location for including config
+
+
V 1.0.7
- get working directory before including config
diff --git
a/logcheck.pl
b/logcheck.pl
index
d7cc919
..
1d145fe
100644
(file)
--- a/
logcheck.pl
+++ b/
logcheck.pl
@@
-21,7
+21,7
@@
use File::Basename;
use File::Spec;
$dirname = File::Spec->rel2abs(dirname(__FILE__));
-require
'
logcheck.conf';
+require
$dirname.'/
logcheck.conf';
$mode="run";
if (defined($logcheckpath)) {
@@
-48,7
+48,7
@@
$file_logfilelist = $dirname."/".$file_logfilelist;
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";