|
@ -1,6 +1,6 @@ |
|
|
use system_shutdown::logout;
|
|
|
|
|
|
use crate::builtins::{Builtin, BuiltinConfig};
|
|
|
use crate::builtins::{Builtin, BuiltinConfig};
|
|
|
use crate::error::ShellError;
|
|
|
use crate::error::ShellError;
|
|
|
|
|
|
use system_shutdown::logout;
|
|
|
|
|
|
|
|
|
pub struct Logout;
|
|
|
pub struct Logout;
|
|
|
|
|
|
|
|
@ -11,6 +11,5 @@ impl Builtin for Logout { |
|
|
Err(error) => eprintln!("Failed to log out: {}", error),
|
|
|
Err(error) => eprintln!("Failed to log out: {}", error),
|
|
|
}
|
|
|
}
|
|
|
Ok(())
|
|
|
Ok(())
|
|
|
|
|
|
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
}
|