headless, linux, debug
Signed-off-by: fufesou <shuanglongchen@yeah.net>
This commit is contained in:
parent
d82d2471d7
commit
d86ef4a86e
3 changed files with 7 additions and 2 deletions
|
|
@ -464,6 +464,7 @@ pub fn get_env_var(k: &str) -> String {
|
|||
}
|
||||
}
|
||||
|
||||
// Headless is enabled, no need to wait prelogin.
|
||||
pub fn is_prelogin() -> bool {
|
||||
let n = get_active_userid().len();
|
||||
n < 4 && n > 1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue