Skip to content
Snippets Groups Projects
Commit 72ec0626 authored by Mark Harrison's avatar Mark Harrison
Browse files

Fix regex for the authuser/authpass lines

git-svn-id: https://labs.omniti.com/resmon/branches/resmon2@340 8c0face9-b7db-6ec6-c4b3-d5f7145c7d55
parent 8d735ac8
No related branches found
No related tags found
No related merge requests found
......@@ -101,11 +101,11 @@ sub new {
$self->{timeout} = $1;
next;
}
elsif(/\S*AUTHUSER\s+(\S+)\s*;\s*/) {
elsif(/\s*AUTHUSER\s+(\S+)\s*;\s*/) {
$self->{authuser} = $1;
next;
}
elsif(/\S*AUTHPASS\s+(\S+)\s*;\s*/) {
elsif(/\s*AUTHPASS\s+(\S+)\s*;\s*/) {
$self->{authpass} = $1;
next;
} elsif(/\s*INCLUDE\s+(\S+)\s*;\s*/) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment