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