From 76bd293c2d8e76a00ba18d158a98e41a951537f5 Mon Sep 17 00:00:00 2001 From: Leigh B Stoller Date: Fri, 6 Aug 2010 13:50:57 -0600 Subject: [PATCH] Do not add typelimits file argument to ptopgen if there is no type limits file. --- tbsetup/mapper.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tbsetup/mapper.in b/tbsetup/mapper.in index 674f6d707..541658c9b 100644 --- a/tbsetup/mapper.in +++ b/tbsetup/mapper.in @@ -484,7 +484,8 @@ sub RunAssign($$) if ($userspec == 1) { $ptopargs .= "-x -g 2 "; } - $ptopargs .= "-l $typelimitfile"; + $ptopargs .= "-l $typelimitfile" + if (scalar(keys(%admission_control))); chat("ptopargs: '$ptopargs'\n"); TBDebugTimeStamp("ptopgen started"); -- GitLab