Re: Some troubles with grub with buster point release 10.8

Stefan Möding <[email protected]>
Newsgroups gmane.linux.debian.fai
Message-ID <[email protected]>
Hi!

Just starting to play with this...

Too me it looks like the "grep" in

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"...

-- 
Stefan
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.