aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/config/qconf-cfg.sh
diff options
context:
space:
mode:
authorDaniel Golle <daniel@makrotopia.org>2021-11-13 16:29:52 +0000
committerDaniel Golle <daniel@makrotopia.org>2021-11-13 18:36:52 +0000
commit4d3303b1bddf3c66fc0a05fb5eb45ceac48cd0d5 (patch)
tree1fe423eb53463e1e8eb42f0bf8bae7a4ad1ba8ff /scripts/config/qconf-cfg.sh
parentf81dc44fd5360ce58a205ac7ce42aa4611b41483 (diff)
downloadupstream-4d3303b1bddf3c66fc0a05fb5eb45ceac48cd0d5.tar.gz
upstream-4d3303b1bddf3c66fc0a05fb5eb45ceac48cd0d5.tar.bz2
upstream-4d3303b1bddf3c66fc0a05fb5eb45ceac48cd0d5.zip
base-files: stage2: improve /proc/*/stat parser
Simply reading /proc/*/stat as a space-separated string will not work as the process name may itself contain spaces. Hence we must match on the '(' and ')' characters around the process name and can then handle the remaining string as space-separated values. This fixes shell error messages which have been popping up the console due to spaces in process names being interpreted as field separators. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Diffstat (limited to 'scripts/config/qconf-cfg.sh')
0 files changed, 0 insertions, 0 deletions