Merge branch 'remove_display_env' into 'master'
Don't set the DISPLAY env var See merge request redox-os/init!12
This commit is contained in:
@@ -127,7 +127,6 @@ pub fn run(file: &Path) -> Result<()> {
|
||||
if missing_arg {
|
||||
println!("init: failed to run.d: no argument or all dirs are non-existent");
|
||||
} else {
|
||||
std::env::set_var("DISPLAY", "3");
|
||||
// This takes advantage of BTreeMap iterating in sorted order.
|
||||
for (_, entry_path) in entries {
|
||||
if let Err(err) = run(&entry_path) {
|
||||
|
||||
Reference in New Issue
Block a user