NVIDIA: SAUCE: kernel/script: depmod: Do not use exec for depmod call
BugLink: https://bugs.launchpad.net/bugs/2080908 Directly call the depmod instead of using the exec for executing this. Using the exec is exiting the script. http://nvbugs/4403549 Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com> Acked-by: Noah Wager <noah.wager@canonical.com> Acked-by: Jacob Martin <jacob.martin@canonical.com> Signed-off-by: Noah Wager <noah.wager@canonical.com>
This commit is contained in:
committed by
Noah Wager
parent
631d69d74e
commit
e4f0889f97
+1
-1
@@ -37,7 +37,7 @@ do
|
||||
config_file_name=$(basename -- "$config_file")
|
||||
flavor=$(echo ${config_file_name} | cut -d'-' -f3)
|
||||
|
||||
exec "$DEPMOD" "$@" "$KERNELRELEASE" -C "$config_file"
|
||||
"$DEPMOD" "$@" "$KERNELRELEASE" -C "$config_file"
|
||||
|
||||
exit_status=$?
|
||||
if [ "$exit_status" -ne 0 ]; then
|
||||
|
||||
Reference in New Issue
Block a user