diff options
| author | Roy Marples <roy@marples.name> | 2015-05-16 21:16:59 +0000 |
|---|---|---|
| committer | Roy Marples <roy@marples.name> | 2015-05-16 21:16:59 +0000 |
| commit | 8f3a9e56d0a4a1cf7bca9845a9c1b8349e7d6c0d (patch) | |
| tree | 2b6ce85c17b2a915a136ea72950ebb48194baeb4 /dhcpcd.c | |
| parent | e6fc660de26c607633e0e7ba8ef427652b63b702 (diff) | |
| download | dhcpcd-8f3a9e56d0a4a1cf7bca9845a9c1b8349e7d6c0d.tar.xz | |
Fix a control socketm error.
Diffstat (limited to 'dhcpcd.c')
| -rw-r--r-- | dhcpcd.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1326,7 +1326,7 @@ dhcpcd_handleargs(struct dhcpcd_ctx *ctx, struct fd_list *fd, reload_config(ctx); /* XXX: Respect initial commandline options? */ - reconf_reboot(ctx, do_reboot, argc, argv, optind); + reconf_reboot(ctx, do_reboot, argc, argv, optind - 1); return 0; } |
