/*
* dhcpcd - DHCP client daemon
- * Copyright (c) 2006-2014 Roy Marples <roy@marples.name>
+ * Copyright (c) 2006-2017 Roy Marples <roy@marples.name>
* All rights reserved
* Redistribution and use in source and binary forms, with or without
if ((e = dup(fd)) == -1)
return -1;
- if ((fp = fdopen(e, "w")) == NULL) {
+ if ((fp = fdopen(e, "a")) == NULL) {
close(e);
return -1;
}
va_end(va);
return e;
}
-
/*
* dhcpcd - DHCP client daemon
- * Copyright (c) 2006-2014 Roy Marples <roy@marples.name>
+ * Copyright (c) 2006-2017 Roy Marples <roy@marples.name>
* All rights reserved
* Redistribution and use in source and binary forms, with or without