From b07500108e20d2b035118b8d650a144419d5324e Mon Sep 17 00:00:00 2001 From: USER Date: Mon, 25 Sep 2023 21:43:01 +0100 Subject: [PATCH] . --- sbin/GitPull | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/sbin/GitPull b/sbin/GitPull index 07ca577..e824b0f 100755 --- a/sbin/GitPull +++ b/sbin/GitPull @@ -16,9 +16,11 @@ pull_repo () { done } - -ZZ=/zz/* -pull_repo +if [ $USER == root ] +then + ZZ=/zz/* + pull_repo +fi #for i in `ls ${ZZ}` #do