use compile defined paths for exec of entrance

This commit is contained in:
Carsten Haitzler 2013-09-04 12:05:30 +09:00
parent 530e75cf74
commit 16d33cdc4d
1 changed files with 1 additions and 1 deletions

View File

@ -63,7 +63,7 @@ main (int argc __UNUSED__, char **argv __UNUSED__)
{
if (WIFEXITED(status) && WEXITSTATUS(status))
setenv("ENTRANCE_QUIT", "1", 1);
execlp("entrance", "entrance", "--nodaemon", NULL);
execlp(PACKAGE_SBIN_DIR"/entrance", PACKAGE_SBIN_DIR"/entrance", "--nodaemon", NULL);
}
return -1;
}