Ref: Fügt Logmeldung hinzu, falls lokales Dateisystem bereits gemountet ist.
This commit is contained in:
@@ -121,6 +121,8 @@ fn mount_local(network_address: String) {
|
|||||||
|
|
||||||
log("main", "Mounting local filesystem...", LogLevel::Info);
|
log("main", "Mounting local filesystem...", LogLevel::Info);
|
||||||
mount(mount_point, &*format!("{}:{}", dev_ip, get_config().local.mount_path), mount_type);
|
mount(mount_point, &*format!("{}:{}", dev_ip, get_config().local.mount_path), mount_type);
|
||||||
|
} else {
|
||||||
|
log("main", "Filesystem is already mounted locally. Doing nothing.", LogLevel::Info);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user