fix func prototype to be void and use proper compile defined dirs paths
This commit is contained in:
parent
4d4cdc967c
commit
688276f325
|
@ -7,6 +7,7 @@ AM_CPPFLAGS = \
|
|||
-DPACKAGE_DATA_DIR=\"$(datadir)/$(PACKAGE)\" \
|
||||
-DSYSTEM_CONFIG_DIR=\"$(sysconfdir)\" \
|
||||
-DPACKAGE_BIN_DIR=\"$(libdir)/$(PACKAGE)\" \
|
||||
-DPACKAGE_SBIN_DIR=\"$(sbindir)/\" \
|
||||
@ENTRANCE_CFLAGS@
|
||||
|
||||
if HAVE_CONSOLEKIT
|
||||
|
|
|
@ -135,9 +135,10 @@ entrance_close_log()
|
|||
}
|
||||
|
||||
static void
|
||||
_entrance_wait()
|
||||
_entrance_wait(void)
|
||||
{
|
||||
execl(PACKAGE_BIN_DIR"/entrance_wait", "/usr/sbin/entrance", NULL);
|
||||
// XXX: use eina_prefix! hardcoding paths . :(
|
||||
execl(PACKAGE_BIN_DIR"/entrance_wait", PACKAGE_SBIN_DIR"/entrance", NULL);
|
||||
PT("HUM HUM HUM can't wait ...\n\n\n");
|
||||
_exit(1);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue