From 4d38ee26fd58a0ce11f27cd27ce4ef62207ab349 Mon Sep 17 00:00:00 2001 From: Thomas Applencourt Date: Tue, 9 Jul 2024 23:09:20 +0000 Subject: [PATCH] only master --- xprof/xprof.rb.in | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/xprof/xprof.rb.in b/xprof/xprof.rb.in index e66015e4..8f7b7a36 100755 --- a/xprof/xprof.rb.in +++ b/xprof/xprof.rb.in @@ -707,8 +707,7 @@ if __FILE__ == $PROGRAM_NAME parser.on('--trace-output PATH', 'Define where the ctf trace will be saved', 'Default path is something like: $THAPI_HOME/thapi-traces/thapi--%Y-%m-%d--%Hh%Mm%Ss', '$THAPI_HOME defaults to $HOME') do |p| - raise(OptionParser::ParseError, "#{p} already exists") if File.exist?(p) - + raise(OptionParser::ParseError, "#{p} already exists") if mpi_master? && File.exist?(p) p end