mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-06-30 01:02:33 +00:00
rootfs: Fix incorrect getopts call
The `getopts` call in the rootfs builder was incorrect meaning the `-a $agent_version` option would never have worked. Signed-off-by: Penny Zheng <penny.zheng@arm.com>
This commit is contained in:
parent
f7f267213c
commit
7732e0407a
@ -147,7 +147,7 @@ copy_kernel_modules()
|
|||||||
|
|
||||||
OSBUILDER_VERSION="unknown"
|
OSBUILDER_VERSION="unknown"
|
||||||
|
|
||||||
while getopts c:ho:r: opt
|
while getopts a:ho:r: opt
|
||||||
do
|
do
|
||||||
case $opt in
|
case $opt in
|
||||||
a) AGENT_VERSION="${OPTARG}" ;;
|
a) AGENT_VERSION="${OPTARG}" ;;
|
||||||
|
Loading…
Reference in New Issue
Block a user