Skip to content

Commit a0a2ad1

Browse files
committed
always initialize redirect_str
1 parent f9a55db commit a0a2ad1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/fpm_filesystem.F90

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1011,6 +1011,8 @@ subroutine run(cmd,echo,exitstat,verbose,redirect)
10111011
if (present(redirect)) then
10121012
if(redirect /= '')then
10131013
redirect_str = ">"//redirect//" 2>&1"
1014+
else
1015+
redirect_str = ""
10141016
endif
10151017
else
10161018
if(verbose_local)then

0 commit comments

Comments
 (0)