aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xscript/runner2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/runner b/script/runner
index 32a0e6b7e..02735531a 100755
--- a/script/runner
+++ b/script/runner
@@ -35,6 +35,6 @@ Dir.chdir(alaveteli_dir) do
Process.detach(pid)
else
# Not daemon mode
- exec("bundle exec rails runner #{ARGV[1]}")
+ exec("bundle exec rails runner #{ARGV[0]}")
end
end