diff options
Diffstat (limited to 'src/service.c')
-rw-r--r-- | src/service.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/service.c b/src/service.c index 2b45ecb715..2ae8785ac4 100644 --- a/src/service.c +++ b/src/service.c @@ -3115,7 +3115,7 @@ static int service_enumerate(Manager *m) { free(fpath); fpath = join(path, "/", de->d_name, NULL); - if (!path) { + if (!fpath) { r = -ENOMEM; goto finish; } |