Ver código fonte

Make DEBUG=script echo the commands as they are executed

tags/v0.9.3
Michael Brown 18 anos atrás
pai
commit
a6afbe762c
1 arquivos alterados com 1 adições e 0 exclusões
  1. 1
    0
      src/image/script.c

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

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

Carregando…
Cancelar
Salvar