From 3fc2b1a41093ef34f5d5c122fbaac28680ab4ca4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Fri, 6 Apr 2018 14:25:45 +0200 Subject: [PATCH] Changed pi user log in to exact match --- install_yunohost | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install_yunohost b/install_yunohost index 0ff1af8..e0c1a9f 100755 --- a/install_yunohost +++ b/install_yunohost @@ -461,7 +461,7 @@ function is_raspbian() { } function user_pi_logged_out() { - who | grep pi > /dev/null && return 1 + who | grep -w pi > /dev/null && return 1 return 0 }