summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xsrc/sbin/bcfg23
1 files changed, 3 insertions, 0 deletions
diff --git a/src/sbin/bcfg2 b/src/sbin/bcfg2
index 0720d1b53..410114280 100755
--- a/src/sbin/bcfg2
+++ b/src/sbin/bcfg2
@@ -77,6 +77,9 @@ class Client:
if (self.setup["file"] != False) and (self.setup["cache"] != False):
print "cannot use -f and -c together"
raise SystemExit, 1
+ if self.setup['remove'] and self.setup['dryrun']:
+ print "cannot use -n and -r together"
+ raise SystemExit, 1
def load_toolset(self, toolset_name):
'''Import client toolset modules'''