summaryrefslogtreecommitdiff
path: root/rhel
diff options
context:
space:
mode:
authorGreg Rose <gvrose8192@gmail.com>2020-08-20 14:56:41 -0700
committerIlya Maximets <i.maximets@ovn.org>2021-03-22 12:28:49 +0100
commit56e60eca70b66e06535ee083858ba2843c1639ec (patch)
tree709f9635538858e44ea8cb126e286811f3116540 /rhel
parentec68a877db5bbfba49ddeb9929479c033420ea6b (diff)
downloadopenvswitch-56e60eca70b66e06535ee083858ba2843c1639ec.tar.gz
rhel: ovs-kmod-manage.sh: Disable unneeded warning.
The script itself says which versions the script is needed for but it is run on RHEL 8.x as well where it is not needed. Disable the warning and change the exit code to zero since it may unnecessarily alarm users and is really only for debugging anyway. Signed-off-by: Greg Rose <gvrose8192@gmail.com> Acked-by: Yi-Hung Wei <yihung.wei@gmail.com> Signed-off-by: Ilya Maximets <i.maximets@ovn.org>
Diffstat (limited to 'rhel')
-rw-r--r--rhel/usr_share_openvswitch_scripts_ovs-kmod-manage.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/rhel/usr_share_openvswitch_scripts_ovs-kmod-manage.sh b/rhel/usr_share_openvswitch_scripts_ovs-kmod-manage.sh
index 9bf25a46b..0d4f7d515 100644
--- a/rhel/usr_share_openvswitch_scripts_ovs-kmod-manage.sh
+++ b/rhel/usr_share_openvswitch_scripts_ovs-kmod-manage.sh
@@ -142,8 +142,8 @@ elif [ "$mainline_major" = "4" ] && [ "$mainline_minor" = "12" ]; then
fi
if [ X"$ver_offset" = X ]; then
- echo "This script is not intended to run on kernel $(uname -r)"
- exit 1
+# echo "This script is not intended to run on kernel $(uname -r)"
+ exit 0
fi
#IFS='.\|-' read -r -a version_nums <<<"${current_kernel}"