mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-03 11:35:19 +00:00
qemud.c: fix error in yesterday's change: s/X_OK/R_OK/
* qemud/qemud.c (main): Fix error s/X_OK/R_OK/ reported by Daniel Berrange.
This commit is contained in:
parent
17bfd657b7
commit
37abbb387e
@ -1,3 +1,9 @@
|
||||
Tue Jan 13 13:21:13 +0100 2009 Jim Meyering <meyering@redhat.com>
|
||||
|
||||
qemud.c: fix error in yesterday's change: s/X_OK/R_OK/
|
||||
* qemud/qemud.c (main): Fix error s/X_OK/R_OK/ reported by
|
||||
Daniel Berrange.
|
||||
|
||||
Tue Jan 13 11:44:32 +0100 2009 Jim Meyering <meyering@redhat.com>
|
||||
|
||||
* HACKING: Clarify "bool" vs. XDR/wire-format.
|
||||
|
@ -2371,7 +2371,7 @@ int main(int argc, char **argv) {
|
||||
static const char *default_config_file
|
||||
= SYSCONF_DIR "/libvirt/libvirtd.conf";
|
||||
remote_config_file =
|
||||
(access(default_config_file, X_OK) == 0
|
||||
(access(default_config_file, R_OK) == 0
|
||||
? default_config_file
|
||||
: "/dev/null");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user