From c6d5b43857a0058fc835419f242c1e896f3dd4bc Mon Sep 17 00:00:00 2001 From: rneder Date: Thu, 16 Jan 2025 17:20:20 +0100 Subject: [PATCH] Macros return to initial directory upon error --- experi/prog/experi_loop.f90 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/experi/prog/experi_loop.f90 b/experi/prog/experi_loop.f90 index 06c943ac..0ffee77a 100644 --- a/experi/prog/experi_loop.f90 +++ b/experi/prog/experi_loop.f90 @@ -60,7 +60,7 @@ subroutine experi_loop endif else cond_macro if(lmacro_close) then - call macro_close + call macro_close(-1) lmakro_error = .FALSE. PROMPT_STATUS = PROMPT_ON sprompt = ' '