[PATCH 4/4] Update libvirtd --help output to match code

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Updated the paths that libvirtd --help says are used when run as
non-root to match what the code actually does.
---
 daemon/libvirtd.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/daemon/libvirtd.c b/daemon/libvirtd.c
index fa9e7e8..edc4eee 100644
--- a/daemon/libvirtd.c
+++ b/daemon/libvirtd.c
@@ -911,7 +911,7 @@ libvirt management daemon:\n"), argv0);
       $XDG_CONFIG_HOME/libvirt/libvirtd.conf\n\
 \n\
     Sockets:\n\
-      $XDG_RUNTIME_HOME/libvirt/libvirt-sock (in UNIX abstract namespace)\n\
+      $XDG_RUNTIME_DIR/libvirt/libvirt-sock (in UNIX abstract namespace)\n\
 \n\
     TLS:\n\
       CA certificate:     $HOME/.pki/libvirt/cacert.pem\n\
@@ -919,7 +919,7 @@ libvirt management daemon:\n"), argv0);
       Server private key: $HOME/.pki/libvirt/serverkey.pem\n\
 \n\
     PID file:\n\
-      $XDG_RUNTIME_HOME/libvirt/libvirtd.pid\n\
+      $XDG_RUNTIME_DIR/libvirt/libvirtd.pid\n\
 \n"));
     }
 }
-- 
1.7.8.6

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]