Skip to content
Snippets Groups Projects
Commit 37db1074 authored by Danny Auble's avatar Danny Auble
Browse files

Only look at the first argument of the script command lines opts to see

if it is a script or not.
parent e0f64392
No related branches found
No related tags found
No related merge requests found
......@@ -145,7 +145,7 @@ if (!$script) {
}
}
if (_check_script($script)) {
if (_check_script($ARGV[0])) {
$command = $base_command = "$sbatch";
} else {
$command = $base_command = "$srun";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment