diff options
-rwxr-xr-x | bin/schroot-create.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/schroot-create.sh b/bin/schroot-create.sh index 181b3972..44083136 100755 --- a/bin/schroot-create.sh +++ b/bin/schroot-create.sh @@ -60,7 +60,7 @@ export CURDIR=$(pwd) bootstrap() { sudo debootstrap $DISTRO $CHROOT_TARGET $MIRROR - sudo -s <<-EOF + echo sudo -s <<-EOF set -e set -x echo -e '#!/bin/sh\nexit 101' > $CHROOT_TARGET/usr/sbin/policy-rc.d @@ -74,7 +74,7 @@ bootstrap() { cleanup() { if [ -d $CHROOT_TARGET ]; then - sudo rm -rf --one-file-system $CHROOT_TARGET || fuser -mv $CHROOT_TARGET + echo sudo rm -rf --one-file-system $CHROOT_TARGET || echo fuser -mv $CHROOT_TARGET fi } trap cleanup INT TERM EXIT |