From 72d9e60fa78cc5faf03bb08d3d315222c3e642a8 Mon Sep 17 00:00:00 2001 From: Thomas Koehler 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 dm_name_="${dm_path_##*/}" 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" } -- 1.7.2.3