Skip to content

Commit

Permalink
Remove trailing spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Nov 2, 2014
1 parent 872d67f commit a39a66c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/droonga/service_installation.rb
Original file line number Diff line number Diff line change
Expand Up @@ -75,13 +75,13 @@ def user_exist?

def installed_as_service?
return false unless user_exist?

#TODO: we should support systemd also...
succeeded = system("service", "droonga-engine", "status",
:out => "/dev/null",
:err => "/dev/null")
return true if succeeded

#TODO: we should support systemd also...
result = `service droonga-engine status`
result.include?("running") or \
Expand Down

0 comments on commit a39a66c

Please sign in to comment.