From b3a9718abc49f61ba200b3b515cc3bfde62f338a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mat=C4=9Bj=20Laitl?= Date: Fri, 2 Jun 2023 09:56:56 +0200 Subject: [PATCH] Drop warning about using the inn symlink (#266) Follow-up to just-merged #175. We no longer install the `inn` symlink, so users doing that manually should know what they are doing. --- client/src/main.rs | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/client/src/main.rs b/client/src/main.rs index c1b3155..6efc957 100644 --- a/client/src/main.rs +++ b/client/src/main.rs @@ -1176,16 +1176,6 @@ fn main() { let opts = Opts::parse(); util::init_logger(opts.verbose); - let argv0 = std::env::args().next().unwrap(); - let executable = Path::new(&argv0).file_name().unwrap().to_str().unwrap(); - if executable == "inn" { - log::warn!(""); - log::warn!(" {}: the {} shortcut will be removed from OS packages soon in favor of users creating a shell alias.", "WARNING".bold(), "inn".yellow()); - log::warn!(""); - log::warn!(" See https://github.com/tonarino/innernet/issues/176 for instructions to continue using it."); - log::warn!(""); - } - if let Err(e) = run(&opts) { println!(); log::error!("{}\n", e);