Browse Source

remove useless line

master
Jonathan Cobb 4 years ago
parent
commit
aab2b95756
1 changed files with 1 additions and 3 deletions
  1. +1
    -3
      src/main.rs

+ 1
- 3
src/main.rs View File

@@ -111,10 +111,8 @@ async fn main() {
.quiet(quiet) .quiet(quiet)
.init().unwrap(); .init().unwrap();


let max_level = log::max_level();

// todo: ensure we are running as root (or Administrator on Windows) // todo: ensure we are running as root (or Administrator on Windows)
info!("The ID of the current user is {} and log level is {:?}", whoami::username(), max_level);
info!("The ID of the current user is {} and log level is {:?}", whoami::username());


let password_file_opt = args.value_of("password_file"); let password_file_opt = args.value_of("password_file");
if password_file_opt.is_none() { if password_file_opt.is_none() {


Loading…
Cancel
Save