multicall: expose argv0, use in applets
This commit is contained in:
parent
e0a7444640
commit
8714dab11d
4 changed files with 8 additions and 6 deletions
|
|
@ -27,7 +27,6 @@ struct match_options {
|
|||
char *include_pattern;
|
||||
};
|
||||
|
||||
static const char *argv0;
|
||||
static bool up;
|
||||
static struct lif_execute_opts exec_opts = {};
|
||||
|
||||
|
|
@ -109,7 +108,6 @@ change_auto_interfaces(struct lif_dict *collection, struct lif_dict *state, stru
|
|||
int
|
||||
ifupdown_main(int argc, char *argv[])
|
||||
{
|
||||
argv0 = basename(argv[0]);
|
||||
up = !is_ifdown();
|
||||
|
||||
struct lif_dict state = {};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue