]> git.proxmox.com Git - pve-manager.git/commitdiff
ceph: change check if installed to ceph mon binary
authorTim Marx <t.marx@proxmox.com>
Thu, 10 Jan 2019 12:54:30 +0000 (13:54 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 10 Jan 2019 13:53:52 +0000 (14:53 +0100)
Signed-off-by: Tim Marx <t.marx@proxmox.com>
PVE/Ceph/Tools.pm

index 6c7e7c1f8ba6f9e1238e022859351f19d22f9c81..0ada98cfefa12fdd017963b466ce6c41c6561e97 100644 (file)
@@ -99,7 +99,7 @@ sub check_ceph_installed {
 sub check_ceph_inited {
     my ($noerr) = @_;
 
-    return undef if !check_ceph_installed('ceph_bin', $noerr);
+    return undef if !check_ceph_installed('ceph_mon', $noerr);
 
     if (! -f $pve_ceph_cfgpath) {
        die "pveceph configuration not initialized\n" if !$noerr;