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