Fix alpine DHCP pid detection (#456)

Signed-off-by: Nathan LeClaire <nathan.leclaire@gmail.com>
This commit is contained in:
Nathan LeClaire
2016-10-05 11:50:32 -07:00
committed by Ahmet Alp Balkan
parent c3532dd93a
commit ef3d68857c
+1 -1
View File
@@ -29,7 +29,7 @@ class AlpineOSUtil(DefaultOSUtil):
return True
def get_dhcp_pid(self):
ret = shellutil.run_get_output("pidof udhcpc", chk_err=False)
ret = shellutil.run_get_output('pidof dhcpcd', chk_err=False)
return ret[1] if ret[0] == 0 else None
def set_ssh_client_alive_interval(self):