Re: [Buildroot] [PATCH 1/1] package/linux-tools/S10hyperv: fix invalid return value

Julien Olivain via buildroot <[email protected]>
Newsgroups net.busybox.buildroot
Message-ID <[email protected]>
On 20/08/2026 18:11, Benjamin DeCamp via buildroot wrote:
> In both start() and stop(), ret is only assigned on failure. When
> hypervkvpd starts or stops successfully, return "$ret" expands to an
> empty string and causes:
> 
>   /etc/init.d/S10hyperv: return: line 31: Illegal number:
> 
> Remove the double quotes so an unset ret expands to a bare return while
> preserving the existing return status behavior.
> 
> Signed-off-by: Benjamin DeCamp <[email protected]>

Applied to master, thanks.

I also fixed a check-package error, which was the initial reason I added
those double quotes. See:
https://gitlab.com/buildroot.org/buildroot/-/commit/667335cd187150c5afebac2a278f92d5b6ef744d

Best regards,

Julien.
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
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.