misc: typo

This commit is contained in:
Dylan Araps 2021-07-14 20:13:30 +03:00
parent cee9184832
commit 509d911236
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

@ -1111,9 +1111,8 @@ pkg_swap() {
}
file_rwx() {
# Grab the octal permissions so that directory creation
# preserves permissions.
# See: [2] at top of script.
# Grab the octal permissions from 'ls -l' so that we can retain
# directory permissions and strip setuid/setgid if found.
rwx=$(ls -ld "$1") oct='' o=0
# Convert the output of 'ls' (rwxrwx---) to octal. This is simply