summaryrefslogtreecommitdiff
path: root/bin/leap_ca_daemon
diff options
context:
space:
mode:
Diffstat (limited to 'bin/leap_ca_daemon')
-rwxr-xr-xbin/leap_ca_daemon2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/leap_ca_daemon b/bin/leap_ca_daemon
index 13c0691..21e48ef 100755
--- a/bin/leap_ca_daemon
+++ b/bin/leap_ca_daemon
@@ -40,7 +40,7 @@ if ARGV.grep(/--version/).any?
end
# --fill-pool will fill the pool and then exit
-if ARGV.grep(/--fill-pool/).any?
+if ARGV.grep(/--once/).any? or ARGV.grep(/--run-once/).any?
require 'leap_ca'
pool = LeapCA::Pool.new(:size => LeapCA::Config.max_pool_size)
pool.fill