tomb

the crypto undertaker
git clone git://parazyd.org/tomb.git
Log | Files | Refs | README | LICENSE

commit d079876e0844073dec6a5bc369b3ade000e58b4c
parent dc9af2ccafb6a62c0265f4e51fff741b4c276590
Author: Jaromil <jaromil@dyne.org>
Date:   Tue, 11 Jan 2011 19:18:02 +0100

better string trim/crop from whitespaces

Diffstat:
Msrc/tomb | 3+--
1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/tomb b/src/tomb @@ -73,8 +73,7 @@ ask_usbkey() { done # get the first partition - usbpart=`dmesg |tail -n 8 | grep ' sd.:' |cut -d: -f2` - usbpart=`expr substr $usbpart 1 4` + usbpart=`dmesg |tail -n 8 | grep ' sd.:' |cut -d: -f2 |tr -d ' '` # what that it is mounted mounted=false