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#?} rwx=${rwx#?}
case $rwx in case $rwx in
[rwx]*): "$((o+=${c#?}))" ;; [rwx]*) o=$((o + ${c#?})) ;;
[st]*): "$((o+=1))" ;; [st]*) o=$((o + 1)) ;;
[ST]*) ;;
esac esac
case $((${c%?} % 3)) in 0) case $((${c%?} % 3)) in 0)