diff --git a/usr/lib/archboot/container.sh b/usr/lib/archboot/container.sh index 7edb141dd..2b9c81221 100644 --- a/usr/lib/archboot/container.sh +++ b/usr/lib/archboot/container.sh @@ -258,7 +258,7 @@ _set_hostname() { _depmod() { echo "Running depmod..." - _KERNELVERSION="$(basename ${1}/lib/modules/*))" + _KERNELVERSION="$(basename ${1}/lib/modules/*)" ${_NSPAWN} "${1}" depmod "${_KERNELVERSION}" }