From 2e060c537f5970e454730170c24b8583658b30dc Mon Sep 17 00:00:00 2001 From: Michael DeHaan Date: Thu, 29 Mar 2012 01:36:29 -0400 Subject: [PATCH] Added preliminary support for --sudo to ansible, playbook support and further testing pending. --- service | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/service b/service index f0e5da101b7..65a8e8c4c7a 100755 --- a/service +++ b/service @@ -79,9 +79,7 @@ elif state == "restarted": # run change commands if we need to def _run(cmd): - return subprocess.call(cmd, - stdout=subprocess.PIPE, - stderr=subprocess.PIPE, shell=True) + return subprocess.call(cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE, shell=True) rc = 0 if changed: