aboutsummaryrefslogtreecommitdiff
path: root/init.d/hostname.in
diff options
context:
space:
mode:
authorChristian Ruppert <idl0r@gentoo.org>2011-07-13 21:32:13 +0200
committerChristian Ruppert <idl0r@gentoo.org>2011-07-13 21:32:13 +0200
commita74382d9cb3d7f024efca46f2befb49e35c40758 (patch)
treeb087a4330fcc2f70c5108e113e966f1edff03d63 /init.d/hostname.in
parentfdaf1c65cdcba2d9b83e02cc0d08fb6dbbd80a80 (diff)
Fix rc_service_value_get() to return multiple lines as well
As introduced in bug 372547 using service_get_value() in the init scripts or using rc_service_value_get() directly will only return one line. This patch fixes it by using the new rc_getfile() function, it returns even multiple lines. We're still using a char *, so the lines will be appended instead of added into new element. X-Gentoo-Bug: 372547 X-Gentoo-Bug-URL: http://bugs.gentoo.org/372547
Diffstat (limited to 'init.d/hostname.in')
0 files changed, 0 insertions, 0 deletions