diff --git a/navigator/navigator.js b/navigator/navigator.js index feac31b..c6f4d05 100644 --- a/navigator/navigator.js +++ b/navigator/navigator.js @@ -360,7 +360,7 @@ class NavDir extends NavEntry { async cephfs_dir_stats() { try { var proc = await cockpit.spawn( - ["cephfs-dir-stats", "-j", this.path_str()], + ["/usr/share/cockpit/navigator/scripts/cephfs-dir-stats.py", "-j", this.path_str()], {err: "ignore"} ); return JSON.parse(proc)[0]; diff --git a/navigator/scripts/cephfs-dir-stats b/navigator/scripts/cephfs-dir-stats.py similarity index 100% rename from navigator/scripts/cephfs-dir-stats rename to navigator/scripts/cephfs-dir-stats.py