makechrootpkg: If chroot is missing, exit instead of usage

I'm not sure why this was handled differently than the other
error conditions.

Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
This commit is contained in:
Jan Alexander Steffens (heftig) 2011-09-17 16:47:39 +02:00 committed by Lukas Fleischer
parent e66a1f3cd8
commit a790c39c7d
1 changed files with 1 additions and 1 deletions

View File

@ -108,7 +108,7 @@ fi
if [[ ! -d $chrootdir/root ]]; then
echo 'Missing chroot dir root directory.'
echo "Try using: mkarchroot $chrootdir/root base base-devel sudo"
usage
exit 1
fi
umask 0022