setup works

This commit is contained in:
Aiden McClelland
2021-09-30 14:48:54 -06:00
committed by Aiden McClelland
parent e77c0a46db
commit 859ad5b678

View File

@@ -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> {