summaryrefslogtreecommitdiff
path: root/azurelinuxagent/common/osutil/redhat.py
diff options
context:
space:
mode:
Diffstat (limited to 'azurelinuxagent/common/osutil/redhat.py')
-rw-r--r--azurelinuxagent/common/osutil/redhat.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/azurelinuxagent/common/osutil/redhat.py b/azurelinuxagent/common/osutil/redhat.py
index 03084b6..80370a2 100644
--- a/azurelinuxagent/common/osutil/redhat.py
+++ b/azurelinuxagent/common/osutil/redhat.py
@@ -69,7 +69,7 @@ class Redhat6xOSUtil(DefaultOSUtil):
#Override
def get_dhcp_pid(self):
- ret= shellutil.run_get_output("pidof dhclient")
+ ret = shellutil.run_get_output("pidof dhclient", chk_err=False)
return ret[1] if ret[0] == 0 else None
def set_hostname(self, hostname):