if (setting->mode == controller_setting_mode_service_e) {
controller_thread_join(&thread.id_signal);
}
- else if (setting->mode == controller_setting_mode_helper_e) {
- status = controller_rule_wait_all(global, F_true, F_false, 0);
- }
- else if (setting->mode == controller_setting_mode_program_e) {
+ else if (setting->mode == controller_setting_mode_helper_e || setting->mode == controller_setting_mode_program_e) {
status = controller_rule_wait_all(global, F_true, F_false, 0);
}
}