Fix stopping wpa_supplicant incorrectly, #107
This commit is contained in:
parent
600d1f62fb
commit
6b3d8cf598
@ -428,7 +428,7 @@ bool rc_service_started_daemon(const char *service,
|
||||
DIR *dp;
|
||||
struct dirent *d;
|
||||
|
||||
if (!service || !(argv && *argv))
|
||||
if (!service || !exec)
|
||||
return false;
|
||||
|
||||
snprintf(dirpath, sizeof(dirpath), RC_SVCDIR "/daemons/%s",
|
||||
|
Loading…
Reference in New Issue
Block a user