Merge commit '8d6a4d7'
This commit is contained in:
@@ -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
@@ -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(())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user