From 1a8b54ebd92ab8f698b327a4a78764ef37916f0a Mon Sep 17 00:00:00 2001 From: Don Armstrong Date: Mon, 26 Jun 2017 08:18:56 -0700 Subject: [PATCH] silence "which sbatch" checking --- dqsub | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dqsub b/dqsub index ed8b629..0a04f2d 100755 --- a/dqsub +++ b/dqsub @@ -158,7 +158,7 @@ if ($options{interactive} and @ARGV) { } if (not defined $options{batch}) { - qx/which sbatch/; + qx{which sbatch >/dev/null 2>&1}; if ($? == 0) { $options{batch} = 'slurm' } else { -- 2.39.2