added chain-echo
[util-vserver.git] / util-vserver / scripts / vserver-build.debootstrap
index df2eb9a..e477643 100644 (file)
@@ -58,7 +58,7 @@ function findDebootstrap
         read tmp <$DEBOOTSTRAP_URI
         case "$tmp" in
        (/*)                    ln -s "$tmp" "$dst";;
-       (http://*|ftp://*)      $_WGET -q -O "$dst" "$tmp";;
+       (http://*|ftp://*)      $_WGET -nv -O "$dst" "$tmp";;
        (*)                     echo $"Unsupported URI scheme '$tmp'" >&2
                                exit 1;;
         esac
@@ -88,7 +88,7 @@ while true; do
        -m)             mirror=$2;       shift;;
        --debug)        set -x;;
        --)             shift; break ;;
-       *)              echo "vserver-build.skeleton: internal error: unrecognized option '$1'"
+       *)              echo "vserver-build.skeleton: internal error: unrecognized option '$1'" >&2
                        exit 1
                        ;;
     esac