[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:
parent
2dd23e1ee9
commit
9e162121b1
|
@ -261,8 +261,9 @@ static int goto_exec ( int argc, char **argv ) {
|
|||
|
||||
/* Sanity check */
|
||||
if ( ! script ) {
|
||||
printf ( "Not in a script\n" );
|
||||
return -ENOTTY;
|
||||
rc = -ENOTTY;
|
||||
printf ( "Not in a script: %s\n", strerror ( rc ) );
|
||||
return rc;
|
||||
}
|
||||
|
||||
/* Parse label */
|
||||
|
|
Reference in New Issue