mirror of
https://github.com/Kicksecure/security-misc.git
synced 2025-01-27 08:46:58 -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"
|
echo_wrapper dpkg-statoverride --add --update "$owner" "$group" "$new_mode" "$file_name"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
done < <( stat -c "%n %a %U %G" "${fso%/}/"** )
|
done < <( stat -c "%n %a %U %G" "${fso_without_trailing_slash}/"** )
|
||||||
else
|
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
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user