e_sys.c - remove old snprintf of enlightenment_sys cmd not used now

This commit is contained in:
Carsten Haitzler 2020-01-16 20:21:20 +00:00
parent 0308c7abce
commit 5ce778194d
1 changed files with 0 additions and 4 deletions

View File

@ -942,7 +942,6 @@ _e_sys_cb_acpi_event(void *data EINA_UNUSED, int type EINA_UNUSED, void *event)
static int static int
_e_sys_action_do(E_Sys_Action a, char *param EINA_UNUSED, Eina_Bool raw) _e_sys_action_do(E_Sys_Action a, char *param EINA_UNUSED, Eina_Bool raw)
{ {
char buf[PATH_MAX];
int ret = 0; int ret = 0;
switch (a) switch (a)
@ -1020,9 +1019,6 @@ _e_sys_action_do(E_Sys_Action a, char *param EINA_UNUSED, Eina_Bool raw)
/* shutdown -r now */ /* shutdown -r now */
if (e_util_immortal_check()) return 0; if (e_util_immortal_check()) return 0;
e_fm2_die(); e_fm2_die();
snprintf(buf, sizeof(buf),
"%s/enlightenment/utils/enlightenment_sys reboot",
e_prefix_lib_get());
if (!_e_sys_comp_waiting) if (!_e_sys_comp_waiting)
{ {
if (raw) if (raw)