X-Git-Url: https://git.grml.org/?p=grml-debootstrap.git;a=blobdiff_plain;f=chroot-script;h=cea2f7d26da762e8d0e927aa4eccf210af4c27fd;hp=3cd219608f806944f75fb7510ca5b7176eab6df7;hb=e1bac354b542d9f6fed10d26a051cd7bd3b86d33;hpb=27a6af188d137b8bf88ab495bfa5339883b3e5bb;ds=sidebyside diff --git a/chroot-script b/chroot-script index 3cd2196..cea2f7d 100755 --- 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: Sam Apr 28 20:19:58 CEST 2007 [mika] +# Latest change: Son Dez 16 16:30:31 CET 2007 [mika] ################################################################################ set -e # exit on any error @@ -258,6 +258,7 @@ passwords() { echo "Setting password for user root:" set +e # do not exit if passwd returns error due to missmatching passwords passwd + until passwd; do echo "Please try again to set the password:" ; done echo "" set -e # restore default behaviour again fi