]> git.ipfire.org Git - thirdparty/util-linux.git/commit
fix a bug where switch_root would erroneously try to parse initargs
authorPaul Asmuth <paul@asmuth.com>
Fri, 9 Nov 2018 16:02:11 +0000 (17:02 +0100)
committerKarel Zak <kzak@redhat.com>
Fri, 4 Jan 2019 10:15:01 +0000 (11:15 +0100)
commit831fc7b7eef226b11c8b36bc8e3adba16b65e98f
tree9e95698879221c2c4482b220b696d7b6c79a6228
parent96b5408fe05be9e67ea7ef624a498ba5d02af9f5
fix a bug where switch_root would erroneously try to parse initargs

before this change, switch_root would try to parse all arguments,
including 'initargs', using getopt, which would lead to an 'unrecognized
option' error when trying to pass a flag to the init program
sys-utils/switch_root.c