diff options
author | Michael Brown | 2007-01-12 11:06:59 +0100 |
---|---|---|
committer | Michael Brown | 2007-01-12 11:06:59 +0100 |
commit | a6afbe762c1c8fb1abfc0e540ce80dd142aeee49 (patch) | |
tree | b301c38f46276db39d72d66ec2d83740015fdcae /src/image | |
parent | Add "dhcp" command (diff) | |
download | ipxe-a6afbe762c1c8fb1abfc0e540ce80dd142aeee49.tar.gz ipxe-a6afbe762c1c8fb1abfc0e540ce80dd142aeee49.tar.xz ipxe-a6afbe762c1c8fb1abfc0e540ce80dd142aeee49.zip |
Make DEBUG=script echo the commands as they are executed
Diffstat (limited to 'src/image')
-rw-r--r-- | src/image/script.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/image/script.c b/src/image/script.c index 0504e4d0..84432435 100644 --- a/src/image/script.c +++ b/src/image/script.c @@ -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 ); |