An improper string comparison operator was used to check whether
FORCE_COREFILES was enabled. Further, the check to enable core files
was only down when vswitch was started, and not when restarted.
Thanks to Ben for help debugging the issue.
}
function start {
+ if [ "$FORCE_COREFILES" = "y" ]; then
+ turn_on_corefiles
+ fi
+
insert_modules_if_required
start_vswitchd
start_brcompatd
case "$1" in
start)
- if [ "$FORCE_COREFILES" == "y" ]; then
- turn_on_corefiles
- fi
start
;;
stop)