X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=salomeTools.py;h=4b25cfa68fdd9ae902fd8f5ced8d13bc7c2b624b;hb=e78f0659aceb8e693fd02b01531215180256543c;hp=0744fff8bd2cc822830832cc0c4bb50c581f78cd;hpb=91028a34a38940dc18efc1c9e267841aa304e45d;p=tools%2Fsat.git diff --git a/salomeTools.py b/salomeTools.py index 0744fff..4b25cfa 100755 --- a/salomeTools.py +++ b/salomeTools.py @@ -213,9 +213,13 @@ class Sat(object): silent = (self.cfg.USER.output_verbose_level == 0) # create log file + micro_command = False + if logger_add_link: + micro_command = True logger_command = src.logger.Logger(self.cfg, silent_sysstd=silent, - all_in_terminal=self.options.all_in_terminal) + all_in_terminal=self.options.all_in_terminal, + micro_command=micro_command) # Check that the path given by the logs_paths_in_file option # is a file path that can be written @@ -288,7 +292,7 @@ class Sat(object): logger_command.end_write( {"launchedCommand" : launchedCommand}) - if res is None: + if res != 0: res = 1 # If the logs_paths_in_file was called, write the result # and log files in the given file path