Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit abee506

Browse files
committed
Revert "PGPRO-1244: writing original initdb log"
This reverts commit cb65206.
1 parent cb65206 commit abee506

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

nsis/postgresql.nsi

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -403,13 +403,12 @@ Section $(PostgreSQLString) sec1
403403
${endif}
404404
pop $0
405405
Pop $1 # printed text, up to ${NSIS_MAX_STRLEN}
406-
407-
FileOpen $R1 "$DATA_DIR\..\initdb.log" w
408-
FileWrite $R1 $1
409-
FileClose $R1
410406

411407
${if} $0 != 0
408+
FileOpen $R1 "$DATA_DIR\..\initdb.log" w
412409
${Utf8ToAnsi} $1 $2
410+
FileWrite $R1 $2
411+
FileClose $R1
413412
DetailPrint "initdb.exe return $0"
414413
DetailPrint "Output: $2"
415414
Sleep 5000

0 commit comments

Comments
 (0)