Commit a790c39c authored by Jan Alexander Steffens (heftig)'s avatar Jan Alexander Steffens (heftig) Committed by Lukas Fleischer
Browse files

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: default avatarLukas Fleischer <archlinux@cryptocrack.de>
parent e66a1f3c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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