commit | b9cc4489c68de59f7a38ef4e02a9829465a6a544 | [log] [tgz] |
---|---|---|
author | Rusty Russell <rusty@rustcorp.com.au> | Wed Apr 15 13:23:48 2015 +0930 |
committer | Rusty Russell <rusty@rustcorp.com.au> | Wed Apr 15 13:31:23 2015 +0930 |
tree | 7c41d3c24c1144146a8da03b04016235347fdb24 | |
parent | e5d8f59a5cfa76ab5ebe47622d0c569eddd42fbe [diff] |
params: handle quotes properly for values not of form foo="bar". When starting kernel with arguments like: init=/bin/sh -c "echo arguments" the trailing double quote is not removed which results in following command being executed: /bin/sh -c 'echo arguments"' Reported-by: Arthur Gautier <baloo@gandi.net> Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>