From 8d8d9317b6f5862d86c800ba56a5e406be24b2c1 Mon Sep 17 00:00:00 2001 From: Abdelkader Boudih Date: Mon, 24 Aug 2015 13:22:35 +0100 Subject: [PATCH] fix typo , closes #102 --- lib/capistrano/tasks/capistrano2.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/capistrano/tasks/capistrano2.rb b/lib/capistrano/tasks/capistrano2.rb index 3ceb87f..5ccfc9e 100644 --- a/lib/capistrano/tasks/capistrano2.rb +++ b/lib/capistrano/tasks/capistrano2.rb @@ -58,7 +58,7 @@ def for_each_role def run_as(cmd) su_user = fetch(:sidekiq_user) - run cdm, roles: sidekiq_role, shell: "su - #{su_user}" + run cmd, roles: sidekiq_role, shell: "su - #{su_user}" end def quiet_process(pid_file, idx, sidekiq_role)