]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
Linux: write uints to paths again
authorRoy Marples <roy@marples.name>
Wed, 8 Jan 2020 12:24:38 +0000 (12:24 +0000)
committerRoy Marples <roy@marples.name>
Wed, 8 Jan 2020 12:24:38 +0000 (12:24 +0000)
Remove debug ... sigh

src/privsep-linux.c

index fbd7d293dbac2045cfd60f45d5a3bcd2c80b7107..509b86d63824280e3b206372ff9cb89ca59475fa 100644 (file)
@@ -124,8 +124,6 @@ ps_root_writepathuint(struct dhcpcd_ctx *ctx, const char *path,
        size_t plen = strlen(path) + 1;
        size_t len = sizeof(plen) + plen + sizeof(val);
 
-       return 0;
-
        if (len > sizeof(buf)) {
                errno = ENOBUFS;
                return -1;