>>>>> On Wed, 10 Feb 2021 12:13:28 +0100, Stefan Möding <s.moed...@gmail.com> >>>>> said:
> mbrdevices=$($ROOTCMD udevadm info -r --query=symlink $BOOT_DEVICE | grep -Po '/dev/disk/by-id/ata\S+') > will emit an exit status 1 if it does not find a match. This is > propagated as the script error status (due to the trap). Maybe an > additional "| cat" at the end could be used to gobble the status of > "grep"... Thanks for the hint. It's now fixed. -- viele Grüße Thomas