mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-31 04:23:40 +00:00
setup works
This commit is contained in:
committed by
Aiden McClelland
parent
e77c0a46db
commit
859ad5b678
@@ -51,7 +51,9 @@ pub async fn create_pool<I: IntoIterator<Item = P>, P: AsRef<Path>>(
|
|||||||
.arg(pool_name)
|
.arg(pool_name)
|
||||||
.invoke(crate::ErrorKind::Zfs)
|
.invoke(crate::ErrorKind::Zfs)
|
||||||
.await?,
|
.await?,
|
||||||
)?)
|
)?
|
||||||
|
.trim() // this allocates but fuck it
|
||||||
|
.to_owned())
|
||||||
}
|
}
|
||||||
|
|
||||||
pub async fn create_fs(pool_name: &str, password: &str) -> Result<(), Error> {
|
pub async fn create_fs(pool_name: &str, password: &str) -> Result<(), Error> {
|
||||||
|
|||||||
Reference in New Issue
Block a user