conf: make close_all_fds a boolean

parent 443a29a8
......@@ -254,7 +254,7 @@ struct lxc_conf {
struct lxc_terminal console;
struct lxc_rootfs rootfs;
char *ttydir;
int close_all_fds;
bool close_all_fds;
struct {
unsigned int hooks_version;
......
......@@ -83,7 +83,7 @@ struct lxc_arguments {
int force;
/* close fds from parent? */
int close_all_fds;
bool close_all_fds;
/* lxc-create */
char *bdevtype, *configfile, *template;
......
......@@ -96,7 +96,7 @@ static int my_parser(struct lxc_arguments *args, int c, char *arg)
args->rcfile = arg;
break;
case 'C':
args->close_all_fds = 1;
args->close_all_fds = true;
break;
case 's':
return lxc_config_define_add(&defines, arg);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment