This commit is contained in:
Patrick Schleizer 2019-12-20 06:09:17 -05:00
parent 7f8b3c76de
commit e254b8b52d
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" setguid_output="set-group-id"
fi fi
if [ "$setguid" = "true" ] || [ "setguid" = "true" ]; then if [ "$setguid" = "true" ] || [ "$setguid" = "true" ]; then
string_length_of_existing_mode="${#existing_mode}" string_length_of_existing_mode="${#existing_mode}"
if [ "$string_length_of_existing_mode" = "4" ]; then if [ "$string_length_of_existing_mode" = "4" ]; then
new_mode="${existing_mode:1}" new_mode="${existing_mode:1}"