ping.ext_host: Only execute ext_host_get_cmd when it is not empty
`process.run` cannot pass empty command line and will raise IndexError,
only execute the ext_host_get_cmd if it is not empty.
Signed-off-by: NYihuang Yu <yihyu@redhat.com>
Showing
想要评论请 注册 或 登录