Fix stopping wpa_supplicant incorrectly, #107

This commit is contained in:
Roy Marples 2008-09-19 11:24:21 +00:00
parent 600d1f62fb
commit 6b3d8cf598

View File

@ -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",