ifupdown: update ifstate

This commit is contained in:
Ariadne Conill 2020-07-23 11:01:05 -06:00
parent 5e99e689a8
commit de94c2a5a4

View file

@ -218,7 +218,11 @@ main(int argc, char *argv[])
return EXIT_FAILURE;
}
/* XXX: update state file */
if (!exec_opts.mock && !lif_state_write_path(&state, state_file))
{
fprintf(stderr, "%s: could not update %s\n", argv0, state_file);
return EXIT_FAILURE;
}
return EXIT_SUCCESS;
}