Fix typo in 'functions'

Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Change-Id: Iaa656a1441b4e671385ec323e6f1d3b8725530af
This commit is contained in:
Dongjin Kim
2020-05-25 22:52:46 +09:00
parent 6c4525d2d6
commit 6ab89c1e98

View File

@@ -278,8 +278,8 @@ do_create_image() {
local baseimage=${1}
local tarball=${2}
[ "x${baseimage}" = "x" ] && paninc "no given image file name"
[ "x${tarball}" = "x" ] && paninc "no given tarball"
[ "x${baseimage}" = "x" ] && panic "no given image file name"
[ "x${tarball}" = "x" ] && panic "no given tarball"
umount ${boot_mnt} ${rootfs_mnt} 2>/dev/null
rm -rf ${boot_mnt} ${rootfs_mnt}