ifupdown: update ifstate
This commit is contained in:
parent
5e99e689a8
commit
de94c2a5a4
1 changed files with 5 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue