mirror of
https://github.com/ipxe/ipxe
synced 2026-02-28 03:11:18 +03:00
[script] Add an iPXE error URI to the "not in a script" message
Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
@@ -261,8 +261,9 @@ static int goto_exec ( int argc, char **argv ) {
|
|||||||
|
|
||||||
/* Sanity check */
|
/* Sanity check */
|
||||||
if ( ! script ) {
|
if ( ! script ) {
|
||||||
printf ( "Not in a script\n" );
|
rc = -ENOTTY;
|
||||||
return -ENOTTY;
|
printf ( "Not in a script: %s\n", strerror ( rc ) );
|
||||||
|
return rc;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Parse label */
|
/* Parse label */
|
||||||
|
|||||||
Reference in New Issue
Block a user