From: Chris Lamb Date: Thu, 14 Aug 2008 00:01:19 +0000 (+0100) Subject: Rework ugly `echo "debug:..` message to use log_{begin,end}_msg. X-Git-Tag: debian/2.0.15-1~460 X-Git-Url: http://git.grml.org/?a=commitdiff_plain;h=69711afc9791c7cf5ff968d87f9abdc23ad2d253;p=live-boot-grml.git Rework ugly `echo "debug:..` message to use log_{begin,end}_msg. --- diff --git a/scripts/live b/scripts/live index 656039a..7bd673b 100755 --- a/scripts/live +++ b/scripts/live @@ -1041,8 +1041,9 @@ setup_unionfs () fi mkdir -p "${croot}/${imagename}" - echo "debug: Mounting backdev \"${backdev}\" (image = ${image}) on croot/imagename \"${croot}/${imagename}\"" + log_begin_msg "Mounting \"${image}\" on \"${croot}${imagename}\" via \"${backdev}\"" mount -t "${fstype}" -o ro,noatime "${backdev}" "${croot}/${imagename}" || panic "Can not mount ${backdev} (${image}) on ${croot}/${imagename}" && rofsstring="${croot}/${imagename}=${roopt}:${rofsstring}" && rofslist="${croot}/${imagename} ${rofslist}" + log_end_msg fi done