Add scheme to paths

This commit is contained in:
Jeremy Soller
2017-08-23 20:16:45 -06:00
parent 7ad7827497
commit 25d6a0fec4
+2 -2
View File
@@ -183,8 +183,8 @@ pub fn install(config: Config, cookbook: Option<&str>) -> Result<(), String> {
let gid = user.gid.unwrap_or(uid);
let name = prompt!(user.name, username.clone(), "{}: name [{}]: ", username, username)?;
let home = prompt!(user.home, format!("/home/{}", username), "{}: home [/home/{}]: ", username, username)?;
let shell = prompt!(user.shell, "/bin/ion".to_string(), "{}: shell [/bin/ion]: ", username)?;
let home = prompt!(user.home, format!("file:/home/{}", username), "{}: home [file:/home/{}]: ", username, username)?;
let shell = prompt!(user.shell, "file:/bin/ion".to_string(), "{}: shell [file:/bin/ion]: ", username)?;
println!("Adding user {}:", username);
println!("\tPassword: {}", password);