[Grml-devel] grml-crypt: fix a few messages

Thomas Köhler jean-luc at picard.franken.de
Thu Dec 23 14:12:19 CET 2010

Hello all,
I just fixed two little messages while having a look on
grml-crypt. See attached patch.


 Thomas Köhler       Email:       jean-luc at picard.franken.de
     <><             WWW:              http://gott-gehabt.de
                     IRC:                           tkoehler
                     PGP public key available from Homepage!
-------------- next part --------------
From 72d9e60fa78cc5faf03bb08d3d315222c3e642a8 Mon Sep 17 00:00:00 2001
From: Thomas Koehler <jean-luc at picard.franken.de>
Date: Thu, 23 Dec 2010 13:37:37 +0100
Subject: [PATCH 1/2] fixed a few messages

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

diff --git a/grml-crypt b/grml-crypt
index a205033..47ca333 100755
--- a/grml-crypt
+++ b/grml-crypt
@@ -214,7 +214,7 @@ function actionStop
   dprint "dm_name_=\"$dm_name_\""
-  dmsetup info $dm_name_ >/dev/null ||die "$dm_name_ is not aktive"
+  dmsetup info $dm_name_ >/dev/null ||die "$dm_name_ is not active"
   device_=`$CRYPTSETUP_ status $dm_name_ |awk '/device:/{print $2}'` || \
     die "could not get underlying device of $dm_path_"
   dprint "device_=\"$device_\""
@@ -224,7 +224,7 @@ function actionStop
   echo "$device_" |grep loop &>/dev/null && execute "losetup -d $device_" \
     die "could not delete loop device $device_" || \
     execute "losetup -d $device_ &>/dev/null" eprint "could not delete loop device $device_, \
-this device could possible not be a loop device => maybe bogus error"
+this device possibly is not a loop device => maybe bogus error"
   notice "$mp_ successfully unmountet/closed/deleted"

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://ml.grml.org/pipermail/grml-devel/attachments/20101223/18690f52/attachment.pgp>

More information about the Grml-devel mailing list