Do not override command when using 'resume'
This commit is contained in:
		@@ -175,8 +175,9 @@ int main (
 | 
			
		||||
      return(ret);
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    // reread arguments (to allow overrides from the command line)
 | 
			
		||||
    read_args(argc, argv, ¶m_str, &command, &nthreads, &savefile_str, &utfile_str, &resumefile_str);
 | 
			
		||||
    // reread arguments (to allow overrides from the command line, but do not override the command)
 | 
			
		||||
    unsigned int dummy_command;
 | 
			
		||||
    read_args(argc, argv, ¶m_str, &dummy_command, &nthreads, &savefile_str, &utfile_str, &resumefile_str);
 | 
			
		||||
    // reread params
 | 
			
		||||
    read_params(param_str, ¶meters, &initfile_str, &drivingfile_str);
 | 
			
		||||
  }
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user