build/meson: fix meson build without pppd

Fixes: 1cdb36b8de
This commit is contained in:
Thomas Haller 2018-07-09 12:02:37 +02:00
parent 4e4b363cc2
commit 530b82a372

View file

@ -809,6 +809,10 @@ create_pppd_cmd_line (NMPPPManager *self,
g_return_val_if_fail (setting != NULL, NULL);
#ifndef PPPD_PATH
#define PPPD_PATH NULL
#endif
pppd_binary = nm_utils_find_helper ("pppd", PPPD_PATH, err);
if (!pppd_binary)
return NULL;