summaryrefslogtreecommitdiff
path: root/src/tmpfiles/tmpfiles.c
diff options
context:
space:
mode:
authorMichael Chapman <mike@very.puzzling.org>2014-10-29 11:54:07 +1100
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2014-11-01 14:39:48 -0400
commitc008f6ee8df9aa36782378d1a3767543b3635a54 (patch)
treef0d47eb7d43980d45ab93b94072027ef10ca068c /src/tmpfiles/tmpfiles.c
parenta65b82457735df2ef58736a55846f400124a8dc0 (diff)
kernel-install/90-loaderentry.install: fix cmdline parsing
A recent commit (2f3a215) changed the parsing of /proc/cmdline to use a shell array. Unfortunately, this introduced a bug: "read -ar line" populates the shell variable $r, not $line. This breaks installation of new loader entries: # kernel-install add 3.17.1-304.fc21.x86_64 \ /boot/vmlinuz-3.17.1-304.fc21.x86_64 Could not determine the kernel command line parameters. Please specify the kernel command line in /etc/kernel/cmdline! This commit alters the read command to correctly populate the $line array instead.
Diffstat (limited to 'src/tmpfiles/tmpfiles.c')
0 files changed, 0 insertions, 0 deletions