mirror of
https://github.com/Kicksecure/security-misc.git
synced 2025-01-26 17:38:00 -05:00
refactoring
This commit is contained in:
parent
ecbba2fd61
commit
98535e3a2b
@ -54,9 +54,9 @@ add_statoverride_entry() {
|
||||
echo_wrapper dpkg-statoverride --add --update "$owner" "$group" "$new_mode" "$file_name"
|
||||
fi
|
||||
fi
|
||||
done < <( stat -c "%n %a %U %G" "${fso%/}/"** )
|
||||
done < <( stat -c "%n %a %U %G" "${fso_without_trailing_slash}/"** )
|
||||
else
|
||||
echo_wrapper dpkg-statoverride --add --update "$owner" "$group" "$mode_from_config" "${fso%/}"
|
||||
echo_wrapper dpkg-statoverride --add --update "$owner" "$group" "$mode_from_config" "$fso_without_trailing_slash"
|
||||
fi
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user