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:
parent
e66a1f3cd8
commit
a790c39c7d
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue