chiark / gitweb /
util-lib: read $SYSTEMD_PROC_CMDLINE if set when looking for the kernel cmdline
authorLennart Poettering <lennart@poettering.net>
Mon, 12 Dec 2016 12:42:06 +0000 (13:42 +0100)
committerSven Eden <yamakuzure@gmx.net>
Mon, 17 Jul 2017 15:58:35 +0000 (17:58 +0200)
commit0abbcad2aa991459183cee29430c962d065f3a58
treee3bd10befd31e7aaca2368c41e624b4d18077974
parent47f94046d2208b0ca48928df3ac3bce803361f23
util-lib: read $SYSTEMD_PROC_CMDLINE if set when looking for the kernel cmdline

if we want to parse the kernel command line, let's check the
$SYSTEMD_PROC_CMDLINE environment variable first. This is useful for debugging
purposes.
src/basic/proc-cmdline.c