it's usage was removed by patch
28a4b0e55c659428bc8f495fde2e774fbd0fb03c
"open the console later"
Signed-off-by: Michel Normand <normand@fr.ibm.com>
Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>
return ret;
}
-static int _config_console(const char *key, char *value, struct lxc_conf *lxc_conf)
-{
- int fd;
-
- fd = open(value, O_CLOEXEC | O_RDWR | O_CREAT | O_APPEND, 0600);
- if (fd < 0) {
- SYSERROR("failed to open '%s'", value);
- return -1;
- }
-
- lxc_conf->console.peer = fd;
-
- return 0;
-}
-
static int config_console(const char *key, char *value,
struct lxc_conf *lxc_conf)
{