2
0
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:
Michael Brown 2007-01-12 10:06:59 +00:00
parent 9952df9b52
commit a6afbe762c

View File

@ -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 );