From a790c39c7dc3074e26b780054b0fc5a33eaa4a2b Mon Sep 17 00:00:00 2001 From: "Jan Alexander Steffens (heftig)" Date: Sat, 17 Sep 2011 16:47:39 +0200 Subject: 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 --- makechrootpkg.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/makechrootpkg.in b/makechrootpkg.in index 6bedf03..092f195 100644 --- a/makechrootpkg.in +++ b/makechrootpkg.in @@ -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 -- cgit v1.2.3-70-g09d2