From 9498154a71aa9e9b017e724ca5d590f1fc142b31 Mon Sep 17 00:00:00 2001 From: Hyperling Date: Thu, 2 Jan 2025 12:56:37 -0700 Subject: [PATCH] Only check directories. --- tasks/general/acct_mgmt/users.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tasks/general/acct_mgmt/users.yml b/tasks/general/acct_mgmt/users.yml index 63eb5ad..ff00c98 100644 --- a/tasks/general/acct_mgmt/users.yml +++ b/tasks/general/acct_mgmt/users.yml @@ -461,6 +461,9 @@ alias_code_check: | alias code-check=' ls -d ~/Code/* | while read project; do + if [[ ! -d $project ]]; then + continue + fi echo "*** `basename $project` ***" cd $project if [[ -d .git ]]; then