]> git.pld-linux.org Git - projects/rc-scripts.git/commitdiff
local vars
authorElan Ruusamäe <glen@pld-linux.org>
Sun, 11 Sep 2011 20:00:23 +0000 (20:00 +0000)
committerElan Ruusamäe <glen@pld-linux.org>
Sun, 11 Sep 2011 20:00:23 +0000 (20:00 +0000)
svn-id: @12344

rc.d/init.d/cryptsetup

index e6dd929f8d8d341b1d2bfdd1dce7a407e09aae41..0e7f27222619bdf9750b0691e15aeddae5af12b8 100755 (executable)
@@ -137,7 +137,7 @@ init_crypto() {
 }
 
 halt_crypto() {
-    fnval=0
+    local fnval=0 dst src key
     while read dst src key; do
        [ -z "$dst" -o "${dst#\#}" != "$dst" ] && continue
         if [ -b "/dev/mapper/$dst" ]; then
This page took 0.250489 seconds and 4 git commands to generate.