sysupgrade: print errno on failure
authorStijn Tintel <stijn@linux-ipv6.be>
Tue, 8 Nov 2022 12:43:25 +0000 (14:43 +0200)
committerDaniel Golle <daniel@makrotopia.org>
Thu, 10 Nov 2022 20:30:59 +0000 (20:30 +0000)
commit039b88f75367203e540009cc97603b1bce3fafa6
tree87e229a158b4a239fc56d2112f6738c08de62d29
parent93b2c2d5ed4ca369a9ea48163024125b958212b5
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.

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
sysupgrade.c