projects
/
grml-crypt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
5011d9d
)
Bugfix: use DM_PATH_ instead of DM_NAME_ for fsck
author
Thomas Koehler
<jean-luc@picard.franken.de>
Mon, 7 Jun 2010 06:31:58 +0000
(08:31 +0200)
committer
Michael Prokop
<mika@grml.org>
Fri, 25 Jun 2010 11:42:25 +0000
(13:42 +0200)
grml-crypt
patch
|
blob
|
history
diff --git
a/grml-crypt
b/grml-crypt
index
fade32e
..
107fe7f
100755
(executable)
--- 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 "$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'
fi
margs_=""
$READONLY_SET_ && margs_='-r'