lib.sh: Fix `modprobe -f` on Ubuntu 45/50245/1
authorAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Mon, 8 Jan 2018 15:47:18 +0000 (16:47 +0100)
committerAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Mon, 8 Jan 2018 15:50:53 +0000 (15:50 +0000)
commit4874ba30071630c6b96eb6ea912a4fe047e0d93c
tree6ce52ce6520080a026b2bd8a2f0f3d2817eb674c
parent5f1f119d8043793821b89e61a0830ce8505635ab
lib.sh: Fix `modprobe -f` on Ubuntu

For some reason, `modprobe -f` for a clean nbd module (from vanilla
Ubuntu) fails with exec format error randomly, while a simple
`modprobe` works.

Change-Id: I79785e510cab757e2482baf442054be984c24019
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
(cherry picked from commit 510a5fe446dea8513060813794c99e856eff1845)
mcp/scripts/lib.sh