mirror of https://github.com/dynup/kpatch
test: fix unload_all
This commit is contained in:
parent
df2e2daa92
commit
1fced0bc3d
|
@ -85,7 +85,6 @@ unload_all() {
|
|||
for i in `lsmod |egrep '^kpatch' |awk '{print $1}'`; do
|
||||
if [[ $i != kpatch ]]; then
|
||||
$KPATCH unload $i >> $LOG 2>&1 || error "\"kpatch unload $i\" failed"
|
||||
return
|
||||
fi
|
||||
done
|
||||
if lsmod |egrep -q '^kpatch'; then
|
||||
|
|
Loading…
Reference in New Issue