X-Git-Url: https://git.donarmstrong.com/?p=uiuc_igb_scripts.git;a=blobdiff_plain;f=dqsub;fp=dqsub;h=d9963d33d4c944c02d6e3320e77d325cac474bdc;hp=571bc281cd88c45827ae35fa7672844b66a98875;hb=8639e736d6c9a65bd464ca834940fb015566aa69;hpb=9d5820c033136980f80cccad98a499ba58c0cde5;ds=sidebyside diff --git a/dqsub b/dqsub index 571bc28..d9963d3 100755 --- a/dqsub +++ b/dqsub @@ -157,7 +157,7 @@ if ($options{interactive} and @ARGV) { if (not defined $options{batch}) { qx/which sbatch/; - if ($?) { + if ($? == 0) { $options{batch} = 'slurm' } else { $options{batch} = 'pbs'