sysupgrade: print errno on failure staging/stintel/sysupgrade
authorStijn Tintel <stijn@linux-ipv6.be>
Tue, 8 Nov 2022 12:43:25 +0000 (14:43 +0200)
committerStijn Tintel <stijn@linux-ipv6.be>
Wed, 23 Nov 2022 15:25:25 +0000 (17:25 +0200)
commit76a9a091cd0923be3f0d96148b765808c16e4d7f
tree9e3d43ee90fa054daaef68c11e883c103b244905
parent3849197ce7b58db65c660f432b1e8a75806a99a9
sysupgrade: print errno on failure

The error message "Failed to exec upgraded." is not very informative.
Add errno to the message to make it more useful.

Lacks SoB to avoid people merging/pushing this to master.
sysupgrade.c