mirror of
https://github.com/Kicksecure/security-misc.git
synced 2025-01-10 15:17:57 +07:00
pipefail
This commit is contained in:
parent
cad6f328f4
commit
b95225b6a6
@ -8,6 +8,7 @@
|
||||
|
||||
#set -x
|
||||
set -e
|
||||
set -o pipefail
|
||||
|
||||
exit_code=0
|
||||
|
||||
@ -29,7 +30,7 @@ echo_wrapper_audit() {
|
||||
|
||||
add_nosuid_statoverride_entry() {
|
||||
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
|
||||
|
||||
while read -r line; do
|
||||
|
Loading…
Reference in New Issue
Block a user