remove debug output

This commit is contained in:
Astro 2022-09-24 01:23:46 +02:00
parent 8e4cf7ad55
commit 811a90fc5a
1 changed files with 0 additions and 2 deletions

View File

@ -99,12 +99,10 @@ impl Handler {
}
fn handle_command<F: FnMut(&str)>(&self, command: String, mut respond: F) {
dbg!(&command);
let program_len = command.find(|c: char| c.is_whitespace())
.unwrap_or(command.len());
let program = &command[..program_len];
dbg!(program);
match program {
"whoami" => respond(&self.user),
"id" => respond(&format!("uid=0({}) gid=0(root)", self.user)),