Skip to content

Commit

Permalink
Drop warning about using the inn symlink (#266)
Browse files Browse the repository at this point in the history
Follow-up to just-merged #175. We no longer install the `inn` symlink, so users doing that manually should know what they are doing.
  • Loading branch information
strohel authored Jun 2, 2023
1 parent 68df161 commit b3a9718
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions client/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit b3a9718

Please sign in to comment.