[libvirt-sandbox] virt-sandbox-service: fixed /lib/ into /usr/lib for searching unit files

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

 



---
 bin/virt-sandbox-service | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bin/virt-sandbox-service b/bin/virt-sandbox-service
index 2dcbfb8..9ed37e0 100755
--- a/bin/virt-sandbox-service
+++ b/bin/virt-sandbox-service
@@ -1071,7 +1071,7 @@ class CheckUnit(argparse.Action):
             src = "/etc/systemd/system/" + unit
             if os.path.exists(src):
                 return src
-            src = "/lib/systemd/system/" + unit
+            src = "/usr/lib/systemd/system/" + unit
             if os.path.exists(src):
                 return src
             return None
-- 
1.8.4.5

--
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]