Skip to content

Commit

Permalink
Actions are now sudoed
Browse files Browse the repository at this point in the history
  • Loading branch information
egarcia committed Feb 5, 2010
1 parent d2b07c5 commit 6d60a99
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/redmine_sympa/actions.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ module RedmineSympa
module Actions
def self.execute_command(command)
RedmineSympa::SympaLogger.info(" executing #{command}")
system "#{command} >> #{RedmineSympa::SympaLogger.path} 2>&1 &"
system "sudo #{command} >> #{RedmineSympa::SympaLogger.path} 2>&1 &"
end

def self.get_sympa_path
Expand Down

0 comments on commit 6d60a99

Please sign in to comment.