From 6fe012ff78caf10f4bf5503b27030cd54563ad0b Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Wed, 15 Apr 2009 17:07:48 +0200 Subject: s3-examples: make sure to match correct key name in adssearch. Guenther --- examples/misc/adssearch.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/misc') diff --git a/examples/misc/adssearch.pl b/examples/misc/adssearch.pl index d17e680ec8..026853d152 100755 --- a/examples/misc/adssearch.pl +++ b/examples/misc/adssearch.pl @@ -735,7 +735,7 @@ sub get_machine_password { ($line,$password) = split(/"/, $line); last; } - if ($line =~ /$key/) { + if ($line =~ /\"$key\"/) { $found = 1; } } -- cgit