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.
pull/268/head
Matěj Laitl 2023-06-02 09:56:56 +02:00 committed by GitHub
parent 68df161264
commit b3a9718abc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 10 deletions

View File

@ -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);