Merge commit '8d6a4d7'

This commit is contained in:
Jeremy Soller
2017-05-10 21:38:17 -06:00
3 changed files with 7 additions and 1 deletions
+3
View File
@@ -0,0 +1,3 @@
[submodule "redoxfs"]
path = redoxfs
url = https://github.com/redox-os/redoxfs.git
Submodule
+1
Submodule redoxfs added at 6c1d98cea8
+3 -1
View File
@@ -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));
}
file!("etc/passwd", passwd.as_bytes());
if ! passwd.is_empty() {
file!("etc/passwd", passwd.as_bytes());
}
Ok(())
}