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

Skip to content

Commit 98aff3d

Browse files
committed
if adminpack error occurred - call Abort
1 parent 04f26d9 commit 98aff3d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

nsis/postgresql.nsi

+2-2
Original file line numberDiff line numberDiff line change
@@ -538,7 +538,7 @@ Section $(componentServer) sec1
538538

539539
${if} $0 != 0
540540
DetailPrint "initdb.exe return $0"
541-
DetailPrint "Output: $1"
541+
;DetailPrint "Output: $1"
542542
FileWrite $LogFile "initdb.exe return $0 $\r$\n"
543543
FileWrite $LogFile "Output: $1 $\r$\n"
544544
FileClose $LogFile ;Closes the filled file
@@ -778,7 +778,7 @@ Section $(componentServer) sec1
778778
;MessageBox MB_OK "Create adminpack error: $1"
779779
MessageBox MB_OK|MB_ICONSTOP "$(MESS_ERROR_SERVER)"
780780
FileClose $LogFile
781-
return
781+
Abort
782782
${else}
783783
DetailPrint "Checking connection is OK"
784784
FileWrite $LogFile "Checking connection is OK $\r$\n"

0 commit comments

Comments
 (0)