[Grml-devel] [PATCH 1/2] Bugfix: use DM_PATH_ instead of DM_NAME_ for fsck

Thomas Koehler jean-luc at picard.franken.de
Mon Jun 7 08:31:58 CEST 2010


---
 grml-crypt |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/grml-crypt b/grml-crypt
index fade32e..107fe7f 100755
--- a/grml-crypt
+++ b/grml-crypt
@@ -187,7 +187,7 @@ function actionStart
   execute "$CRYPTSETUP_ $cargs_ luksOpen $TARGET_ $DM_NAME_" warn || execute "losetup -d $TARGET_" || \
     die "could not luksOpen $TARGET_"
   if [[ "$FSCK_" == "true" ]] ; then
-    execute "fsck -C $DM_NAME_" || die "fsck failed on $DM_NAME_"
+    execute "fsck -C $DM_PATH_" || die "fsck failed on $DM_PATH_"
   fi
   margs_=""
   $READONLY_SET_ && margs_='-r'
-- 
1.5.6.5



More information about the Grml-devel mailing list