summaryrefslogtreecommitdiff
path: root/home/xyz/.local/bin/gitmetar
diff options
context:
space:
mode:
Diffstat (limited to 'home/xyz/.local/bin/gitmetar')
-rwxr-xr-xhome/xyz/.local/bin/gitmetar2
1 files changed, 1 insertions, 1 deletions
diff --git a/home/xyz/.local/bin/gitmetar b/home/xyz/.local/bin/gitmetar
index 2afb195c..535f67ed 100755
--- a/home/xyz/.local/bin/gitmetar
+++ b/home/xyz/.local/bin/gitmetar
@@ -2,5 +2,5 @@
while read -r mod user group path; do
chown -c "$user:$group" -- "$path"
- chmod -c "$mod" -- "$path"
+ [ "$mod" -ne 777 ] && chmod -c "$mod" -- "$path"
done < "$1"