This commit is contained in:
Patrick Schleizer 2019-12-20 06:11:38 -05:00
parent e254b8b52d
commit cca0908d9a
No known key found for this signature in database
GPG Key ID: CB8D50BB77BB3C48

View File

@ -42,7 +42,7 @@ add_nosuid_statoverride_entry() {
setguid_output="set-group-id"
fi
if [ "$setguid" = "true" ] || [ "$setguid" = "true" ]; then
if [ "$setuid" = "true" ] || [ "$setguid" = "true" ]; then
string_length_of_existing_mode="${#existing_mode}"
if [ "$string_length_of_existing_mode" = "4" ]; then
new_mode="${existing_mode:1}"