mirror of
https://github.com/YunoHost/install_script.git
synced 2024-09-03 20:06:25 +02:00
Changed pi user log in to exact match
This commit is contained in:
parent
38a7646f06
commit
3fc2b1a410
1 changed files with 1 additions and 1 deletions
|
@ -461,7 +461,7 @@ function is_raspbian() {
|
||||||
}
|
}
|
||||||
|
|
||||||
function user_pi_logged_out() {
|
function user_pi_logged_out() {
|
||||||
who | grep pi > /dev/null && return 1
|
who | grep -w pi > /dev/null && return 1
|
||||||
return 0
|
return 0
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue