Explorar el Código

Make DEBUG=script echo the commands as they are executed

tags/v0.9.3
Michael Brown hace 18 años
padre
commit
a6afbe762c
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1
    0
      src/image/script.c

+ 1
- 0
src/image/script.c Ver fichero

@@ -65,6 +65,7 @@ static int script_exec ( struct image *image ) {
65 65
 
66 66
 		/* Mark end of line and execute command */
67 67
 		*eol = '\0';
68
+		DBG ( "$ %s\n", cmdbuf );
68 69
 		if ( ( rc = system ( cmdbuf ) ) != 0 ) {
69 70
 			DBG ( "Command \"%s\" exited with status %d\n",
70 71
 			      cmdbuf, rc );

Loading…
Cancelar
Guardar