mirror of
https://github.com/Kicksecure/security-misc.git
synced 2025-01-25 10:35:32 +07:00
pipefail
This commit is contained in:
parent
cad6f328f4
commit
b95225b6a6
@ -8,6 +8,7 @@
|
|||||||
|
|
||||||
#set -x
|
#set -x
|
||||||
set -e
|
set -e
|
||||||
|
set -o pipefail
|
||||||
|
|
||||||
exit_code=0
|
exit_code=0
|
||||||
|
|
||||||
@ -29,7 +30,7 @@ echo_wrapper_audit() {
|
|||||||
|
|
||||||
add_nosuid_statoverride_entry() {
|
add_nosuid_statoverride_entry() {
|
||||||
fso_to_process="${fso_without_trailing_slash}/"
|
fso_to_process="${fso_without_trailing_slash}/"
|
||||||
should_be_counter="$(find "$fso_to_process" -perm /u=s,g=s | wc -l)"
|
should_be_counter="$(find "$fso_to_process" -perm /u=s,g=s | wc -l)" || true
|
||||||
counter_actual=0
|
counter_actual=0
|
||||||
|
|
||||||
while read -r line; do
|
while read -r line; do
|
||||||
|
Loading…
Reference in New Issue
Block a user