growpart: shellcheck fixes
This commit is contained in:
parent
c8e710a315
commit
7d664c0ac1
@ -43,7 +43,7 @@ with lib;
|
||||
while [ "''${parentDevice%[0-9]}" != "''${parentDevice}" ]; do
|
||||
parentDevice="''${parentDevice%[0-9]}";
|
||||
done
|
||||
partNum="''${rootDevice#''${parentDevice}}"
|
||||
partNum="''${rootDevice#"''${parentDevice}"}"
|
||||
if [ "''${parentDevice%[0-9]p}" != "''${parentDevice}" ] && [ -b "''${parentDevice%p}" ]; then
|
||||
parentDevice="''${parentDevice%p}"
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user