chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
bus: make sure sd_bus_get_timeout() returns a 0 timeout of there are already read...
[elogind.git]
/
src
/
shared
/
util.c
diff --git
a/src/shared/util.c
b/src/shared/util.c
index 54dbace193f236576edc73e0ad8ceb07e4162174..182277030440d34840ce9d1ad032736d25f5b6be 100644
(file)
--- a/
src/shared/util.c
+++ b/
src/shared/util.c
@@
-4461,7
+4461,7
@@
int glob_extend(char ***strv, const char *path) {
char **p;
errno = 0;
- k = glob(
optarg
, GLOB_NOSORT|GLOB_BRACE, NULL, &g);
+ k = glob(
path
, GLOB_NOSORT|GLOB_BRACE, NULL, &g);
if (k == GLOB_NOMATCH)
return -ENOENT;