Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 241323 Details for
Bug 328227
net-misc/dhcpcd-5.2.6: syslog function in dhcpcd-run-hooks breaks with more than two parameters
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
0001-fix-syslog-function.patch
0001-fix-syslog-function.patch (text/plain), 823 bytes, created by
William Hubbs
on 2010-08-03 20:54:32 UTC
(
hide
)
Description:
0001-fix-syslog-function.patch
Filename:
MIME Type:
Creator:
William Hubbs
Created:
2010-08-03 20:54:32 UTC
Size:
823 bytes
patch
obsolete
>From 91e1453fffdd19dafe2fe21ea04dae2035a84e00 Mon Sep 17 00:00:00 2001 >From: William Hubbs <w.d.hubbs@gmail.com> >Date: Tue, 3 Aug 2010 15:46:59 -0500 >Subject: [PATCH] fix syslog function > >This fixes gentoo bug #328227. The syslog function in >dhcpcd-run-hooks was not working if more than two arguments were >passed to it. >--- > dhcpcd-run-hooks.in | 4 ++-- > 1 files changed, 2 insertions(+), 2 deletions(-) > >diff --git a/dhcpcd-run-hooks.in b/dhcpcd-run-hooks.in >index fbda2f0..521529b 100644 >--- a/dhcpcd-run-hooks.in >+++ b/dhcpcd-run-hooks.in >@@ -133,9 +133,9 @@ syslog() > local lvl="$1" > > [ -n "$lvl" ] && shift >- if [ -n "$@" ]; then >+ if [ -n "$*" ]; then > if type logger >/dev/null 2>&1; then >- logger -t dhcpcd -p daemon."$lvl" -s "$@" >+ logger -t dhcpcd -p daemon."$lvl" -s "$*" > fi > fi > } >-- >1.7.1 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 328227
: 241323