Commit d8fa5efa authored by Chaoting Liu's avatar Chaoting Liu 😖

make_chroot.sh: exit with error should be 1, rather than 0

parent 225b2794
......@@ -322,7 +322,7 @@ elif hash pacman.static 2>/dev/null ; then
else
error "You need either 'pacman' or 'pacman.static' in /usr/bin."
error "Can't proceed, stopping... "
exit 0
exit 1
fi
# Check if chroot already exists
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment