aboutsummaryrefslogtreecommitdiffstats
path: root/spec/controllers/admin_public_body_controller_spec.rb
diff options
context:
space:
mode:
authorGareth Rees <gareth@mysociety.org>2015-02-23 13:27:00 +0000
committerGareth Rees <ADD_EMAIL_HERE>2015-03-09 09:52:07 +0000
commit59b58f107902b8e04abb2a6727be77e1ad6bfea4 (patch)
tree2a5d4976e696004ebb27b5aefda2669d9cfd97aa /spec/controllers/admin_public_body_controller_spec.rb
parent4bb6fc418e97b53205221955120f8f43244277c7 (diff)
Improve checking whether the daemon can run
Only `su` to the app user if the app user is not running the script. If the app user is running the script, its unlikely they'll have sudo permissions so the `su` call prompts for a password.
Diffstat (limited to 'spec/controllers/admin_public_body_controller_spec.rb')
0 files changed, 0 insertions, 0 deletions