From 8c55badccb7d66eddd1fce0f8fa6c1f841cacd26 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hannes=20K=C3=B6rber?= Date: Thu, 25 Apr 2024 08:01:17 +0200 Subject: [PATCH] Retry initial password prompt --- zsh/zprofile.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zsh/zprofile.j2 b/zsh/zprofile.j2 index 0ae1b2a..49adb23 100644 --- a/zsh/zprofile.j2 +++ b/zsh/zprofile.j2 @@ -1,7 +1,7 @@ source /etc/profile if [[ "$(passwd --status $USER | awk '{print $2}')" =~ ^(NP|L)$ ]] ; then - sudo passwd $USER + while ! sudo passwd $USER ; do ; done fi _path=(