diff options
author | Jan Alexander Steffens (heftig) <jan.steffens@gmail.com> | 2011-09-17 16:47:39 +0200 |
---|---|---|
committer | Lukas Fleischer <archlinux@cryptocrack.de> | 2011-10-07 21:53:04 +0200 |
commit | a790c39c7dc3074e26b780054b0fc5a33eaa4a2b (patch) | |
tree | fc65a8cadf5692456e54d2746f9892be424409b0 | |
parent | e66a1f3cd85b22cd5113684acdad50e5c077662e (diff) | |
download | devtools32-a790c39c7dc3074e26b780054b0fc5a33eaa4a2b.tar.xz |
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>
-rw-r--r-- | makechrootpkg.in | 2 |
1 files changed, 1 insertions, 1 deletions
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 |