Commit 20333bd
state: helpful error message if state GUID cannot be found
So far, if the user didn't specify a valid GPT UID, state initialization
failed with the not so helpful error message:
| ERROR: state state.of: probe failed: Invalid argument
Improve this by also providing a helpful error message.
Signed-off-by: Enrico Jörns <ejo@pengutronix.de>
Reviewed-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Link: https://lore.barebox.org/20260113132444.3808198-1-ejo@pengutronix.de
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>1 parent b99251c commit 20333bd
1 file changed
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
651 | 651 | | |
652 | 652 | | |
653 | 653 | | |
| 654 | + | |
654 | 655 | | |
655 | 656 | | |
656 | 657 | | |
| |||
0 commit comments