瀏覽代碼

[script] Remove "Aborting on <line>" message

Signed-off-by: Michael Brown <mcb30@ipxe.org>
tags/v1.20.1
Michael Brown 13 年之前
父節點
當前提交
930f009bfa
共有 1 個檔案被更改,包括 1 行新增3 行删除
  1. 1
    3
      src/image/script.c

+ 1
- 3
src/image/script.c 查看文件

@@ -125,10 +125,8 @@ static int script_exec_line ( const char *line ) {
125 125
 		return 0;
126 126
 
127 127
 	/* Execute command */
128
-	if ( ( rc = system ( line ) ) != 0 ) {
129
-		printf ( "Aborting on \"%s\"\n", line );
128
+	if ( ( rc = system ( line ) ) != 0 )
130 129
 		return rc;
131
-	}
132 130
 
133 131
 	return 0;
134 132
 }

Loading…
取消
儲存