mirror of
https://github.com/troglobit/finit.git
synced 2026-10-17 10:49:34 +00:00
network: log output from ifup without trailing newline
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
1 parent
f3fcca6150
commit
a2ab45cad7
1 file changed
+1
-1
+1
-1
@@ -537,7 +537,7 @@ void networking(int updown)
|
||||
char buf[256];
|
||||
|
||||
while (fgets(buf, sizeof(buf), pp))
|
||||
logit(LOG_NOTICE, "network: %s", buf);
|
||||
logit(LOG_NOTICE, "network: %s", chomp(buf));
|
||||
|
||||
rc = pclose(pp);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user