diff --git a/mklni b/mklni index 0cea460..11e5693 100755 --- a/mklni +++ b/mklni @@ -62,7 +62,7 @@ arguments() { remove_chroot break 2 ;; -build) + build) build "$1" break 2 ;; @@ -262,7 +262,7 @@ install_chroot() log "Failed to install lon-tool" error exit 1 } - + detach_chroot || { log "Failed to detach chroot" error exit 1 @@ -283,7 +283,7 @@ remove_chroot() } { rm -rf "${CHROOTDIR:?}/" && - log "Done!" + log "Done!" } || { log "Failed to remove chroot" error exit 1