misc: nit

This commit is contained in:
Dylan Araps 2021-07-28 10:35:48 +03:00
parent 40736326c8
commit 26ca4b0747
No known key found for this signature in database
GPG Key ID: 13295DAC2CF13B5C
1 changed files with 2 additions and 3 deletions

5
kiss
View File

@ -1247,9 +1247,8 @@ file_rwx() {
rwx=${rwx#?}
case $rwx in
[rwx]*): "$((o+=${c#?}))" ;;
[st]*): "$((o+=1))" ;;
[ST]*) ;;
[rwx]*) o=$((o + ${c#?})) ;;
[st]*) o=$((o + 1)) ;;
esac
case $((${c%?} % 3)) in 0)