Commit 318e7bb8 authored by Jeremy Soller's avatar Jeremy Soller

Merge commit '8d6a4d70'

parents 7e9f15e5 8d6a4d70
[submodule "redoxfs"]
path = redoxfs
url = https://github.com/redox-os/redoxfs.git
Subproject commit 6c1d98cea83e2bb02b940959e6b07625ec12656f
...@@ -190,7 +190,9 @@ pub fn install(config: Config, cookbook: Option<&str>) -> Result<(), String> { ...@@ -190,7 +190,9 @@ pub fn install(config: Config, cookbook: Option<&str>) -> Result<(), String> {
passwd.push_str(&format!("{};{};{};{};{};{};{}\n", username, password, uid, gid, name, home, shell)); passwd.push_str(&format!("{};{};{};{};{};{};{}\n", username, password, uid, gid, name, home, shell));
} }
file!("etc/passwd", passwd.as_bytes()); if ! passwd.is_empty() {
file!("etc/passwd", passwd.as_bytes());
}
Ok(()) Ok(())
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment