mirror of https://github.com/ipxe/ipxe.git
Make DEBUG=script echo the commands as they are executed
parent
9952df9b52
commit
a6afbe762c
|
|
@ -65,6 +65,7 @@ static int script_exec ( struct image *image ) {
|
||||||
|
|
||||||
/* Mark end of line and execute command */
|
/* Mark end of line and execute command */
|
||||||
*eol = '\0';
|
*eol = '\0';
|
||||||
|
DBG ( "$ %s\n", cmdbuf );
|
||||||
if ( ( rc = system ( cmdbuf ) ) != 0 ) {
|
if ( ( rc = system ( cmdbuf ) ) != 0 ) {
|
||||||
DBG ( "Command \"%s\" exited with status %d\n",
|
DBG ( "Command \"%s\" exited with status %d\n",
|
||||||
cmdbuf, rc );
|
cmdbuf, rc );
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue