Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Some change concerning the display of the summary
[simgrid.git] / tools / tesh2 / src / main.c
index 005463a..44293c8 100644 (file)
@@ -613,7 +613,7 @@ finalize(void)
 
        if(sig_int)
                INFO0("Tesh interrupted (receive a SIGINT)");
-       else if(!summary_flag && !dry_run_flag && !silent_flag && !just_print_flag && !print_version_flag && !print_usage_flag && is_tesh_root)
+       else if(!summary_flag && !detail_summary_flag && !dry_run_flag && !silent_flag && !just_print_flag && !print_version_flag && !print_usage_flag && is_tesh_root)
        {
                if(!exit_code)
                        INFO2("Tesh terminated with exit code %d : %s",exit_code, "success");
@@ -973,7 +973,7 @@ process_command_line(int argc, char** argv)
                                                                if(ENOENT == errno)
                                                                        ERROR1("File %s does not exist", optarg);
                                                                else
-                                                                       ERROR0("Insufficient memory is available to process the command line - system error");
+                                                                       ERROR1("System error :`(%s)'", strerror(errno));
                                                                
                                                                return -1;
                                                        }