X-Git-Url: https://git.grml.org/?a=blobdiff_plain;ds=sidebyside;f=chroot-script;h=b7024aad91e002a6e36ea81ec1320da576693e7a;hb=059bb54bf0e316d20c8368899cf0e30b828e5ad3;hp=3cd219608f806944f75fb7510ca5b7176eab6df7;hpb=41260b2bb817765667a4d816d56306574f5ca691;p=grml-debootstrap.git diff --git a/chroot-script b/chroot-script index 3cd2196..b7024aa 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: Mit Dez 19 10:10:50 CET 2007 [mika] ################################################################################ set -e # exit on any error @@ -257,8 +257,8 @@ passwords() { else echo "Setting password for user root:" set +e # do not exit if passwd returns error due to missmatching passwords - passwd - echo "" + until passwd; do echo "Please try again to set the password:" ; done + echo set -e # restore default behaviour again fi }