diff --git a/appmgr/src/disk/main.rs b/appmgr/src/disk/main.rs index 6ee70d74f..b439a26b5 100644 --- a/appmgr/src/disk/main.rs +++ b/appmgr/src/disk/main.rs @@ -51,7 +51,9 @@ pub async fn create_pool, P: AsRef>( .arg(pool_name) .invoke(crate::ErrorKind::Zfs) .await?, - )?) + )? + .trim() // this allocates but fuck it + .to_owned()) } pub async fn create_fs(pool_name: &str, password: &str) -> Result<(), Error> {