The single quotes changed bash's behaviour to interpret the * character literally, but this is not what we wanted here. We need to escape the single quotes.
Signed-off-by: Michael Tremer <[email protected]> --- src/initscripts/system/functions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/initscripts/system/functions b/src/initscripts/system/functions index c4b7cb39e..757912eab 100644 --- a/src/initscripts/system/functions +++ b/src/initscripts/system/functions @@ -930,7 +930,7 @@ readhash() { # strip leading and trailing single quotes case "${val}" in - '*') + \'*\') val="${val#\'}" val="${val%\'}" ;; -- 2.47.3
