forked from enlightenment/enlightenment
e restart - use new exit code 111 for restart by parent e_start
This commit is contained in:
parent
6210b12294
commit
37620211e5
|
@ -1099,7 +1099,7 @@ e_config_load(void)
|
|||
e_config_profile_set("default");
|
||||
if (!reload) e_config_profile_del(e_config_profile_get());
|
||||
e_config_save_block_set(1);
|
||||
ecore_app_restart();
|
||||
exit(111);
|
||||
//e_sys_action_do(E_SYS_RESTART, NULL);
|
||||
return;
|
||||
}
|
||||
|
|
|
@ -187,7 +187,7 @@ _e_ipc_cb_client_data(void *data EINA_UNUSED, int type EINA_UNUSED, void *event)
|
|||
switch (e->minor)
|
||||
{
|
||||
case E_ALERT_OP_RESTART:
|
||||
ecore_app_restart();
|
||||
exit(111);
|
||||
break;
|
||||
|
||||
case E_ALERT_OP_EXIT:
|
||||
|
|
Loading…
Reference in New Issue