update storage paths
This commit is contained in:
@@ -18,7 +18,7 @@ try {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function updateDiskSize() {
|
function updateDiskSize() {
|
||||||
exec("du -sb f0ckm-data/b f0ckm-data/t f0ckm-data/c", (error, stdout, stderr) => {
|
exec(`du -sb ${config.paths.b} ${config.paths.t} ${config.paths.c}`, (error, stdout, stderr) => {
|
||||||
if (error) {
|
if (error) {
|
||||||
console.error(`Error calculating disk size: ${error.message}`);
|
console.error(`Error calculating disk size: ${error.message}`);
|
||||||
return;
|
return;
|
||||||
|
|||||||
Reference in New Issue
Block a user