summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2011-06-12 10:13:17 +0000
committerPaul Buetow <paul@buetow.org>2011-06-12 10:13:17 +0000
commitdfaf6f04f32a60c273b5d30f9baf7e024247f298 (patch)
treeeefcbe8d523635d706b2a6a7936df53c35eacbbb
parent4219810e3e2ecfb319f3b0847862f960be77f4a0 (diff)
Using more local variables
-rwxr-xr-xpwgrep.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/pwgrep.sh b/pwgrep.sh
index aea2125..98b1e35 100755
--- a/pwgrep.sh
+++ b/pwgrep.sh
@@ -133,6 +133,7 @@ function setwipecmd () {
function pwgrep () {
local -r search=$1
+ local -A dbs=()
if [ -z "$ALL" ]; then
dbs=$DB