From: Michael Prokop Date: Tue, 10 Apr 2007 09:48:29 +0000 (+0200) Subject: improve display of stage warning in chroot-script X-Git-Tag: 0.6~5 X-Git-Url: https://git.grml.org/?p=grml-debootstrap.git;a=commitdiff_plain;h=d222915361d189e94f76e606bb2792f9c63afbba improve display of stage warning in chroot-script --- diff --git a/chroot-script b/chroot-script index 6000710..b82526f 100644 --- a/chroot-script +++ b/chroot-script @@ -4,7 +4,7 @@ # Authors: grml-team (grml.org), (c) Michael Prokop # Bug-Reports: see http://grml.org/bugs/ # License: This file is licensed under the GPL v2. -# Latest change: Die Apr 10 11:11:02 CEST 2007 [mika] +# Latest change: Die Apr 10 11:48:13 CEST 2007 [mika] ################################################################################ set -e # exit on any error @@ -23,7 +23,7 @@ fi # helper functions {{{ stage() { if grep -q done "$STAGES/$1" 2>/dev/null ; then - echo "Notice: stage $1 has been executed already, skipping execution therefore.">&2 + echo " * Notice: stage $1 has been executed already, skipping execution therefore." return 1 else echo "$2" > "$STAGES/$1"