diff options
-rw-r--r-- | networking/ifplugd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/networking/ifplugd.c b/networking/ifplugd.c index 01a7a49e5..8cb07db5d 100644 --- a/networking/ifplugd.c +++ b/networking/ifplugd.c | |||
@@ -145,7 +145,7 @@ static int run_script(const char *action) | |||
145 | 145 | ||
146 | env_PREVIOUS = xasprintf("%s=%s", IFPLUGD_ENV_PREVIOUS, strstatus(G.iface_prev_status)); | 146 | env_PREVIOUS = xasprintf("%s=%s", IFPLUGD_ENV_PREVIOUS, strstatus(G.iface_prev_status)); |
147 | putenv(env_PREVIOUS); | 147 | putenv(env_PREVIOUS); |
148 | env_CURRENT = xasprintf("%s=%s", IFPLUGD_ENV_PREVIOUS, strstatus(G.iface_last_status)); | 148 | env_CURRENT = xasprintf("%s=%s", IFPLUGD_ENV_CURRENT, strstatus(G.iface_last_status)); |
149 | putenv(env_CURRENT); | 149 | putenv(env_CURRENT); |
150 | 150 | ||
151 | /* r < 0 - can't exec, 0 <= r < 0x180 - exited, >=0x180 - killed by sig (r-0x180) */ | 151 | /* r < 0 - can't exec, 0 <= r < 0x180 - exited, >=0x180 - killed by sig (r-0x180) */ |