mirror of
https://github.com/xcat2/xNBA.git
synced 2025-08-21 10:40:29 +00: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 */
|
||||
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
Block a user