SVN: rc-scripts/trunk/rc.d/init.d/cryptsetup

glen glen at pld-linux.org
Sun Sep 11 22:00:24 CEST 2011


Author: glen
Date: Sun Sep 11 22:00:23 2011
New Revision: 12344

Modified:
   rc-scripts/trunk/rc.d/init.d/cryptsetup
Log:
local vars

Modified: rc-scripts/trunk/rc.d/init.d/cryptsetup
==============================================================================
--- rc-scripts/trunk/rc.d/init.d/cryptsetup	(original)
+++ rc-scripts/trunk/rc.d/init.d/cryptsetup	Sun Sep 11 22:00:23 2011
@@ -137,7 +137,7 @@
 }
 
 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


More information about the pld-cvs-commit mailing list