1
0
mirror of https://codeberg.org/kiss-community/kiss synced 2024-11-04 22:15:36 -07:00

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

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)