summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/puppetca6
1 files changed, 5 insertions, 1 deletions
diff --git a/bin/puppetca b/bin/puppetca
index 91a83aaca..599ce58b4 100755
--- a/bin/puppetca
+++ b/bin/puppetca
@@ -173,7 +173,11 @@ else
hosts = ca.list
unless hosts.length > 0
puts "No certificates to sign"
- exit(0)
+ if ARGV.length > 0
+ exit(17)
+ else
+ exit(0)
+ end
end
end