Skip to content

Commit

Permalink
v2.1 release-candidate#2
Browse files Browse the repository at this point in the history
  • Loading branch information
Somajit Dey committed Jan 6, 2021
1 parent abaae96 commit 7731b2d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/progrep.f90
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ Subroutine append_log(dummy) bind(c)

WRITE(intro,'(a,1x,a)')'Started:',TRIM(ADJUSTL(Sim_start_expanded))

CALL EXECUTE_COMMAND_LINE('touch '//TRIM(ADJUSTL(logfileName))//' 2&>/dev/null') !Just a workaround for WSL
CALL EXECUTE_COMMAND_LINE('touch '//TRIM(ADJUSTL(logfileName))//' > /dev/null 2>&1') !Just a workaround for WSL
OPEN(NEWUNIT=logfileUnit,FILE=TRIM(ADJUSTL(logfileName)),STATUS='UNKNOWN',FORM='FORMATTED', ACCESS='SEQUENTIAL', &
ACTION='READ',IOSTAT=readStat)
READ(logfileUnit,'(a)',IOSTAT=readStat)record
Expand Down Expand Up @@ -500,7 +500,7 @@ Subroutine progrep_config
OPEN(NEWUNIT=storeUnit,FILE=storeFile)
READ(storeUnit,'(a)')started_remote_log
CLOSE(storeUnit)
CALL EXECUTE_COMMAND_LINE('touch '//TRIM(ADJUSTL(logfileName))//' 2&>/dev/null') !Just a workaround for WSL
CALL EXECUTE_COMMAND_LINE('touch '//TRIM(ADJUSTL(logfileName))//' > /dev/null 2>&1') !Just a workaround for WSL
OPEN(NEWUNIT=logfileUnit,FILE=logfileName,STATUS='old',IOSTAT=readStat)
READ(logfileUnit,'(a)',IOSTAT=readStat)started_local_log
CLOSE(logfileUnit)
Expand Down

0 comments on commit 7731b2d

Please # to comment.